From 6872ef610bad337701e0dcb0ab06558c04a0146f Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sat, 5 Feb 2011 14:34:41 +0000 Subject: vmport: convert to qdev Signed-off-by: Blue Swirl --- hw/pc.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'hw/pc.h') 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 */ -- cgit v1.2.1