projects
/
qemu-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6737ef
)
fixup comment formatting
author
Thomas Lamprecht
<t.lamprecht@proxmox.com>
Mon, 17 Sep 2018 13:49:14 +0000
(15:49 +0200)
committer
Thomas Lamprecht
<t.lamprecht@proxmox.com>
Mon, 17 Sep 2018 13:49:31 +0000
(15:49 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/QemuConfig.pm
patch
|
blob
|
blame
|
history
diff --git
a/PVE/QemuConfig.pm
b/PVE/QemuConfig.pm
index de564b760278ee03d9e80139d450fa61d123a58a..cd116bd46fd84790dca577554a6c5474f1a6a8ef 100644
(file)
--- a/
PVE/QemuConfig.pm
+++ b/
PVE/QemuConfig.pm
@@
-286,9
+286,8
@@
sub __snapshot_rollback_hook {
# we save the machine of the current config
$data->{oldmachine} = $conf->{machine};
} else {
- # if we have a 'runningmachine' entry in the snapshot
- # we use that for the forcemachine parameter,
- # else we use the old logic
+ # if we have a 'runningmachine' entry in the snapshot we use that
+ # for the forcemachine parameter, else we use the old logic
if (defined($conf->{runningmachine})) {
$data->{forcemachine} = $conf->{runningmachine};
delete $conf->{runningmachine};