Commit eaf4e76b authored by David Johnson's avatar David Johnson
Browse files

Fix bug in 9a5d6c56 in libvnode_xen: save ishvm bit if FORCE_HVM.

parent a32ffeda
...@@ -1577,7 +1577,7 @@ okay: ...@@ -1577,7 +1577,7 @@ okay:
elsif (exists($attributes->{'XEN_FORCE_HVM'}) elsif (exists($attributes->{'XEN_FORCE_HVM'})
&& "$attributes->{'XEN_FORCE_HVM'}" eq '1' && "$attributes->{'XEN_FORCE_HVM'}" eq '1'
&& "$imagemetadata->{'PART'}" eq '0') { && "$imagemetadata->{'PART'}" eq '0') {
$ishvm = 1; $private->{'ishvm'} = $ishvm = 1;
undef $image{'kernel'}; undef $image{'kernel'};
undef $image{'ramdisk'}; undef $image{'ramdisk'};
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment