[Qemu-devel] [PATCH] Clean up pci_drive_hot_add()'s use of BlockInterfaceType

2012-11-22 Thread Markus Armbruster
pci_drive_hot_add() parameter type has the wrong type: int instead of BlockInterfaceType. It's actually redundant, so we can just drop it. Signed-off-by: Markus Armbruster arm...@redhat.com --- hw/device-hotplug.c | 11 --- hw/pci-hotplug.c| 7 +++ sysemu.h| 3 +--

Re: [Qemu-devel] [PATCH] Clean up pci_drive_hot_add()'s use of BlockInterfaceType

2012-11-22 Thread Alexander Graf
On 22.11.2012, at 15:16, Markus Armbruster wrote: pci_drive_hot_add() parameter type has the wrong type: int instead of BlockInterfaceType. It's actually redundant, so we can just drop it. Signed-off-by: Markus Armbruster arm...@redhat.com --- hw/device-hotplug.c | 11 ---

Re: [Qemu-devel] [PATCH] Clean up pci_drive_hot_add()'s use of BlockInterfaceType

2012-11-22 Thread Markus Armbruster
Alexander Graf ag...@suse.de writes: On 22.11.2012, at 15:16, Markus Armbruster wrote: pci_drive_hot_add() parameter type has the wrong type: int instead of BlockInterfaceType. It's actually redundant, so we can just drop it. Signed-off-by: Markus Armbruster arm...@redhat.com ---