
11 Sep
2012
11 Sep
'12
7:37 a.m.
Christophe Fergeau <cfergeau@redhat.com> writes:
Maybe a comment explicitly saying it's 1GB would be helpful? +domain.set_memory(1024*1024) # 1GB
Good question. My first reaction is that if such a simple example needs extra comments maybe it'd be nicer if the API offered "set_memory_kb"?