Runing domain xml
vv.XMLDesc(0)
n ub_test1n 714dde02-76c9-7d45-25af-e50f0a54f4bcn 545792n 545792n
4n n hvmn n n n n n n destroyn restartn
destroyn n /usr/bin/kvmn n n n
n n n n n n n
n n n n n n n
n n n n n n n
n n n n nn"
>> vv.info()
[1, 545792L, 545792L, 1, 6320000000L]
1.
>> vv.setMemoryFlags(545794)
libvir: QEMU Driver error :
invalid argument: cannot set memory higher than
max memory
Traceback (most recent call last):
File "", line 1, in
File
"/home/fluent/cvt/convirt-enterprise/tg2env/local/lib/python2.7/site-packages/libvirt.py",
line 1781, in setMemoryFlags
if ret == -1: raise libvirtError ('virDomainSetMemoryFlags()
failed', dom=self)
libvirt.libvirtError: invalid argument: cannot set memory higher than max
memory
>> vv.setMemoryFlags(545790)
0
>> vv.info()
[1, 545792L, 545792L, 1, 6480000000L]
>> vv.setMemoryFlags(545788)
0
>> vv.info()
[1, 545792L, 545792L, 1, 6480000000L]
If increase memory giving the above. if decreased memory it is running the
command successfully but not changing the value
2.Vcpu update
>> vv.setVcpusFlags(2)
libvir: QEMU Driver error :
internal error got wrong number of vCPU pids
from QEMU monitor. got 4, wanted 2
Traceback (most recent call last):
File "", line 1, in
File
"/home/fluent/cvt/convirt-enterprise/tg2env/local/lib/python2.7/site-packages/libvirt.py",
line 1884, in setVcpusFlags
if ret == -1: raise libvirtError ('virDomainSetVcpusFlags() failed',
dom=self)
libvirt.libvirtError: internal error got wrong number of vCPU pids from
QEMU monitor. got 4, wanted 2
>> vv.setVcpusFlags(5)
libvir: QEMU Driver error : invalid
argument: requested vcpus is greater
than max allowable vcpus for the domain: 5 > 4
Traceback (most recent call last):
File "", line 1, in
File
"/home/fluent/cvt/convirt-enterprise/tg2env/local/lib/python2.7/site-packages/libvirt.py",
line 1884, in setVcpusFlags
if ret == -1: raise libvirtError ('virDomainSetVcpusFlags() failed',
dom=self)
libvirt.libvirtError: invalid argument: requested vcpus is greater than max
allowable vcpus for the domain: 5 > 4
Cant increase or decrease vcpu.
-------------------------
Message sent via Atmail Open -
http://atmail.org/