Qemu driver not supporting VIR_DOMAIN_DEVICE_MODIFY_CONFIG yet?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

According to the docs on
http://libvirt.org/html/libvirt-libvirt.html#virDomainDetachDeviceFlags
I ought to be able to do

virDomainDetachDeviceFlags(
	<domain>,
	<devicexml>,
	VIR_DOMAIN_DEVICE_MODIFY_LIVE | VIR_DOMAIN_DEVICE_MODIFY_CONFIG);

to detach a volume both from a currently running VM instance and permanently 
from the defined config file.

If I actually try that, though, I'm getting this error:

libvir: QEMU error : Requested operation is not valid: cannot modify the 
persistent configuration of a domain

The same thing happens whether or not the domain is running and also happens 
if I leave out the "VIR_DOMAIN_DEVICE_MODIFY_LIVE" part.

Does the qemu driver simply not support VIR_DOMAIN_DEVICE_MODIFY_CONFIG yet 
(libvirt 0.8.1), or is there some other problem here?

	Guido


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux