[Libvir] [PATCH] setmem checks

Mark Johnson johnson.nh at gmail.com
Fri Jun 15 16:31:41 UTC 2007

On 6/15/07, Daniel P. Berrange <berrange at redhat.com> wrote:
> On Fri, Jun 15, 2007 at 11:30:02AM -0400, Mark Johnson wrote:
> > Which of these does folks prefer (same would apply to SetMaxMem).
> I prefer the first. Full error checking & reporting. GetInfo should
> never fail under any reasonable scenario. If it does fail its very
> unlikely that a SetMemory would then work, so its pointless continuing

update patch attached.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: setmem-fixes
Type: application/octet-stream
Size: 1690 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070615/cefb2edd/attachment-0001.obj>

More information about the libvir-list mailing list