[Libvir] [PATCH] setmem checks

Richard W.M. Jones rjones at redhat.com
Mon Jun 18 10:33:24 UTC 2007


Mark Johnson wrote:
> 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.

+1

Rich.

-- 
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070618/9436b99b/attachment-0001.bin>


More information about the libvir-list mailing list