
9 Nov
2012
9 Nov
'12
5:23 p.m.
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