Re: [PATCH 1/2 RESEND] qemu: refactor graphics code to not hardcode a single display

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

 



On Fri, Nov 09, 2012 at 05:14:10 -0500, Alon Levy wrote:
> hmm, I'm not using the enum everywhere, I'll send again after fixing (and use --patience).

Actually it's be better to just get rid of the enum completely and rather
follow libvirt's convention of returning -1 on error and 0 on success. And
call virReportOOMError() directly from qemuBuildGraphicsCommandLine so that
you don't have to care about returning different error values.

Jirka

--
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]