diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2011-02-05 14:34:41 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-02-12 08:28:24 +0000 |
commit | 6872ef610bad337701e0dcb0ab06558c04a0146f (patch) | |
tree | a0b80249727f81b681c133f58582c5ee4648271a /hw/pc.h | |
parent | 7ba7e49e6a7493e1cd0fe07cc67403846d642fc5 (diff) | |
download | qemu-6872ef610bad337701e0dcb0ab06558c04a0146f.tar.gz qemu-6872ef610bad337701e0dcb0ab06558c04a0146f.tar.bz2 qemu-6872ef610bad337701e0dcb0ab06558c04a0146f.zip |
vmport: convert to qdev
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/pc.h')
-rw-r--r-- | hw/pc.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 */ |