]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
parallels: commit with PVCF_DETACH_HDD_BUNDLE flag
authorDmitry Guryanov <dguryanov@parallels.com>
Tue, 13 Jan 2015 11:27:38 +0000 (14:27 +0300)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 16 Jan 2015 13:07:47 +0000 (14:07 +0100)
commitd86f2aa336bf78abf467c068af9cc0360163c9c9
tree78ce655c9c51bca25fb502a44778ef3dcfc66674
parent4bbd3b1e7e2d93680f29b455d3bcec571539185c
parallels: commit with PVCF_DETACH_HDD_BUNDLE flag

PCS removes disk image from filesystem, if you remove it
from config. There is a special flag PVCF_DETACH_HDD_BUNDLE
which allow to remove disk only from VM/CT config.

If you call virDomainDefine and remove some disk from
config it should be preserved, so call PrlVm_CommitEx
always with flag PVCF_DETACH_HDD_BUNDLE.

Signed-off-by: Dmitry Guryanov <dguryanov@parallels.com>
src/parallels/parallels_sdk.c