Re: [PATCH v3 0/7] Provide an standard asyncio event loop impl

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

 



On Fri, Apr 07, 2017 at 09:31:45AM +0200, Michal Privoznik wrote:
> On 04/06/2017 10:47 PM, Wojtek Porczyk wrote:
> >  libvirt.libvirtError: this function is not supported by the connection driver: virConnectNetworkEventRegisterAny
> 
> That's because we don't have a network driver for XEN. Usually, for stateful
> drivers (those which require daemon to run, e.g. qemu, lxc, ..) they can use
> our own bridge driver for network (it creates a bridge to which domain NICs
> are plugged in). However, then we have bunch of stateless driver for which
> libvirt is just a wrapper over their APIs. For those we would need a
> separate network driver that does the API wrapping. And it looks like
> there's none for XEN. Not sure whether there's something to wrap though. I
> mean I've no idea what XEN networking capabilities are.
> 
> But what we can do here is to surround networkEvenRegisterAny() call with
> try {} except () block and ignore ENOSUPP error.

Thanks for the explanation. Are there any other drivers which don't support
some events? If so, maybe all the event requests should be wrapped in that?


-- 
pozdrawiam / best regards       _.-._
Wojtek Porczyk               .-^'   '^-.
Invisible Things Lab         |'-.-^-.-'|
                             |  |   |  |
 I do not fear computers,    |  '-.-'  |
 I fear lack of them.        '-._ :  ,-'
    -- Isaac Asimov             `^-^-_>

Attachment: signature.asc
Description: Digital signature

--
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]
  Powered by Linux