Re: [PATCH 2/4] qemu: Check QEMU_CAPS_OBJECT_IOTHREAD for qemuDomainPinIOThread

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

 



On Tue, Oct 13, 2015 at 18:33:26 -0400, John Ferlan wrote:
> On 10/13/2015 12:10 PM, Peter Krempa wrote:
> > On Tue, Oct 13, 2015 at 11:47:08 -0400, John Ferlan wrote:

...

> > Here this function should return that the iothread could not be found as
> > such VM shouldn't allow any iothreads if we don't support them.
> > 
> >
> I think it's preferable to have consistent error messages. See
> qemuDomainGetIOThreadsLive and qemuDomainChgIOThread.
> 
> Giving a message such as iothread could not be found is I believe
> misleading.

It is not misleading. It's true. In the configuration described you
can't have any iothreads so a message that you don't have any is spot
on.

Peter

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]