aboutsummaryrefslogtreecommitdiff
path: root/hw/pc.h
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2011-02-05 14:34:41 +0000
committerBlue Swirl <blauwirbel@gmail.com>2011-02-12 08:28:24 +0000
commit6872ef610bad337701e0dcb0ab06558c04a0146f (patch)
treea0b80249727f81b681c133f58582c5ee4648271a /hw/pc.h
parent7ba7e49e6a7493e1cd0fe07cc67403846d642fc5 (diff)
vmport: convert to qdev
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/pc.h')
-rw-r--r--hw/pc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/hw/pc.h b/hw/pc.h
index a048768d21..a7feaaeb05 100644
--- a/hw/pc.h
+++ b/hw/pc.h
@@ -65,7 +65,10 @@ void hpet_pit_disable(void);
void hpet_pit_enable(void);
/* vmport.c */
-void vmport_init(void);
+static inline void vmport_init(void)
+{
+ isa_create_simple("vmport");
+}
void vmport_register(unsigned char command, IOPortReadFunc *func, void *opaque);
/* vmmouse.c */