Re: [PATCH] qemu: simplify PCI configfd handling in monitor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Eric Blake (eblake@xxxxxxxxxx) wrote:
> @@ -829,21 +829,19 @@ int qemuDomainAttachHostPciDevice(struct qemud_driver *driver,
>          if (qemuDomainPCIAddressEnsureAddr(priv->pciaddrs, &hostdev->info) < 0)
>              goto error;
>          if (qemuCapsGet(qemuCaps, QEMU_CAPS_PCI_CONFIGFD)) {
> -            configfd = qemuOpenPCIConfig(hostdev);
> +            if (priv->monConfig->type != VIR_DOMAIN_CHR_TYPE_UNIX) {
> +                qemuReportError(VIR_ERR_CONFIG_UNSUPPORTED,
> +                                _("pci configfd file cannot be attached: "
> +                                  "qemu is not using a unix socket monitor"));

Should that be in common sendfd code?

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]