summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJohannes Erdfelt <johannes.erdfelt@rackspace.com>2011-06-15 14:01:34 +0000
committerTarmac <>2011-06-15 14:01:34 +0000
commit57932d53e7cc5389b7d53fd8875a684f70e2eb67 (patch)
tree2d3b4e23a721a29428d64d72415334f01ddab309 /plugins
parenta628691404b9e28feee59b5927330b8d765c976a (diff)
parent0066c7451988dcd03a4b7e1e708c4932594ffae1 (diff)
downloadnova-57932d53e7cc5389b7d53fd8875a684f70e2eb67.tar.gz
nova-57932d53e7cc5389b7d53fd8875a684f70e2eb67.tar.xz
nova-57932d53e7cc5389b7d53fd8875a684f70e2eb67.zip
The Xen driver supports running instances in PV or HVM modes, but the method it uses to determine which to use is complicated and doesn't work in all cases. The result is that images that need to use HVM mode (such as FreeBSD 64-bit) end up setting a property named 'os' set to 'windows'.
This branch adds checks for a new property called 'vm_mode'. This can be set to 'pv' or 'hvm' and select the appropriate mode. If the property doesn't exist, the existing logic is still used to determine which mode to use.
Diffstat (limited to 'plugins')
0 files changed, 0 insertions, 0 deletions