virtio-serial: Fix compat property name
commit1e29a009e35f2184236d09f45e58bc6a954074c6
authorAmit Shah <amit.shah@redhat.com>
Wed, 23 Jun 2010 17:19:20 +0000 (23 22:49 +0530)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 22 Jul 2010 03:52:08 +0000 (22 05:52 +0200)
tree6577ac46b7a393e0e1c410c0dd6cea00c14fa2da
parent6d1db8c34e26a36652f816e8e74ce619fab87b62
virtio-serial: Fix compat property name

Starting with qemu -M pc-0.12 -device virtio-serial

results in

-device virtio-serial: Property 'virtio-serial-pci.max_nr_ports' not found

The property name 'max_ports' is incorrectly named 'max_nr_ports'. Fix
that.

Also fix the ppc440 machine type bamboo-0.12 which has this typo.

Reported-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/pc_piix.c
hw/ppc440_bamboo.c