On Wed, 2012-03-07 at 10:19 +0100, Paolo Bonzini wrote:
> Il 07/03/2012 01:14, Alex Williamson ha scritto:
> > +void pci_host_remove_dev_probe_notifier(Notifier *notify)
> > +{
> > +notifier_list_remove(&pci_host_dev_probe_notifiers, notify);
> > +}
> > +
>
> Looks like qemu-kvm needs a merge.
Il 07/03/2012 01:14, Alex Williamson ha scritto:
> +void pci_host_remove_dev_probe_notifier(Notifier *notify)
> +{
> +notifier_list_remove(&pci_host_dev_probe_notifiers, notify);
> +}
> +
Looks like qemu-kvm needs a merge. :)
Upstream has notifier_remove, not notifier_list_remove.
Paolo
It's sometimes useful to know when the guest probes a device. For
example, during PCI hotplug once the guest accesses the device, we
can no longer remove it without guest permission. Add a notifier
list that gets called when the vendor ID of a device is read. The
PCI spec mandates that configura