On Wed, Nov 19, 2014 at 12:08:21PM +0000, Zeeshan Ali (Khattak) wrote:
> On Wed, Nov 19, 2014 at 11:00 AM, Christophe Fergeau
> <[email protected]> wrote:
> > Could/should this take a GVirConfigDomainGraphics * instead and infer
> > the index from it?
> > I know gvir_domain-open_graphics() uses 'idx', but maybe we should offer
> > the 2 variants?
> 
> Doesn't sound very convenient and also I don't think the API
> guarantees the order of devices returned from
> gvir_config_domain_get_devices.

Hmm if it's not guaranteed now, we'll have to make sure it is at some
point. Or is it possible to find out the index to pass to that function
with the current API when there are multiple graphics devices?

Christophe

Attachment: pgpusu5j8fjEm.pgp
Description: PGP signature

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to