Redefine the domain's XML on volume attach/detach
This fixes bug 1004791 by adding new disk definitions to the defined XML instead of just modifying the running instance. Change-Id: I6596dae7c54158c32bc7b399c55a1797b2d98242
This commit is contained in:
@@ -68,6 +68,8 @@ VIR_DOMAIN_SHUTDOWN = 4
|
|||||||
VIR_DOMAIN_SHUTOFF = 5
|
VIR_DOMAIN_SHUTOFF = 5
|
||||||
VIR_DOMAIN_CRASHED = 6
|
VIR_DOMAIN_CRASHED = 6
|
||||||
|
|
||||||
|
VIR_DOMAIN_XML_SECURE = 1
|
||||||
|
|
||||||
VIR_CPU_COMPARE_ERROR = -1
|
VIR_CPU_COMPARE_ERROR = -1
|
||||||
VIR_CPU_COMPARE_INCOMPATIBLE = 0
|
VIR_CPU_COMPARE_INCOMPATIBLE = 0
|
||||||
VIR_CPU_COMPARE_IDENTICAL = 1
|
VIR_CPU_COMPARE_IDENTICAL = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user