summaryrefslogtreecommitdiffstats
path: root/hw/i386/pc.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2020-05-04 10:33:39 +0200
committerMichael S. Tsirkin2020-05-04 16:25:03 +0200
commitb4fa79eab5eeaaa6fbebeb03723b9b70dd4563c4 (patch)
treeedcc1f58ebb99b2d1e514fbbecfcc28db7a9d509 /hw/i386/pc.c
parentacpi: unit-test: Update WAET ACPI Table expected binaries (diff)
downloadqemu-b4fa79eab5eeaaa6fbebeb03723b9b70dd4563c4.tar.gz
qemu-b4fa79eab5eeaaa6fbebeb03723b9b70dd4563c4.tar.xz
qemu-b4fa79eab5eeaaa6fbebeb03723b9b70dd4563c4.zip
hw/i386/pc: Create 'vmport' device in place
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20200504083342.24273-2-f4bug@amsat.org> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/i386/pc.c')
-rw-r--r--hw/i386/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 5143c51653..84669ddc84 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -1152,7 +1152,7 @@ static void pc_superio_init(ISABus *isa_bus, bool create_fdctrl, bool no_vmport)
i8042 = isa_create_simple(isa_bus, "i8042");
if (!no_vmport) {
- vmport_init(isa_bus);
+ isa_create_simple(isa_bus, TYPE_VMPORT);
vmmouse = isa_try_create(isa_bus, "vmmouse");
} else {
vmmouse = NULL;