diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-05-04 10:33:39 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-05-04 10:25:03 -0400 |
commit | b4fa79eab5eeaaa6fbebeb03723b9b70dd4563c4 (patch) | |
tree | edcc1f58ebb99b2d1e514fbbecfcc28db7a9d509 /hw | |
parent | 1aaef7d809280388e4e0b73cd21f5aa0a6443b75 (diff) | |
download | 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')
-rw-r--r-- | hw/i386/pc.c | 2 |
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; |