feature #1791: Fix wrong label for disks

This commit is contained in:
Ruben S. Montero committed 2013-03-13 22:52:13 +01:00
1 parent 62698538e3
commit 52ce0d0dc4
1 file changed
+2 -2
+2 -2
View File
@@ -2528,11 +2528,11 @@ int VirtualMachine::set_saveas_state(int disk_id, bool hot)
{
if (hot)
{
disk->replace("SAVE_AS_ACTIVE", "YES");
disk->replace("HOTPLUG_SAVE_AS_ACTIVE", "YES");
}
else
{
disk->replace("HOTPLUG_SAVE_AS_ACTIVE", "YES");
disk->replace("SAVE_AS_ACTIVE", "YES");
}
}