[libvirt] [PATCH 18/27] Add API for issugin 'pci_add host' monitor command

Mark McLoughlin markmc at redhat.com
Mon Sep 28 13:23:03 UTC 2009


Subject typo - 'issugin'

On Thu, 2009-09-24 at 16:00 +0100, Daniel P. Berrange wrote:
> * src/qemu/qemu_monitor.c, src/qemu/qemu_monitor.h: Add new
>   API qemuMonitorAddPCIHostDevice()
> * src/qemu/qemu_driver.c: Switch to using qemuMonitorAddPCIHostDevice()
>   for PCI host device hotplug
> ---
>  src/qemu/qemu_driver.c       |   46 +++-------------
>  src/qemu/qemu_monitor_text.c |  121 ++++++++++++++++++++++++++++++++++++++++++
>  src/qemu/qemu_monitor_text.h |   11 ++++
>  3 files changed, 140 insertions(+), 38 deletions(-)
> 
...
> diff --git a/src/qemu/qemu_monitor_text.c b/src/qemu/qemu_monitor_text.c
> index 0e0334c..ca84fc6 100644
> --- a/src/qemu/qemu_monitor_text.c
> +++ b/src/qemu/qemu_monitor_text.c
> @@ -1315,3 +1315,124 @@ int qemuMonitorAddUSBDeviceMatch(const virDomainObjPtr vm,
>      VIR_FREE(addr);
>      return ret;
>  }
> +
> +
> +static int
> +qemuMonitorParsePciAddReply(virDomainObjPtr vm,
> +                            const char *reply,
> +                            unsigned *domain,
> +                            unsigned *bus,
> +                            unsigned *slot)

Again, had to look outside the patch to verify that this was a straight
copy

ACK

Cheers,
Mark.




More information about the libvir-list mailing list