Use default values for unset HVM instance attributes.
authorAlexander Schreiber <als@google.com>
Mon, 9 Jun 2008 10:01:28 +0000 (10:01 +0000)
committerAlexander Schreiber <als@google.com>
Mon, 9 Jun 2008 10:01:28 +0000 (10:01 +0000)
commit06d936110fb0e516c0264cc92a0073af683e97a7
treee1bdc475dc9c538444b85a452009493510933ffa
parentd069752978dfd82cb698055af167564a14bc5169
Use default values for unset HVM instance attributes.

This patch is intended reduce the update friction for those who used
HVM with the Ganeti 1.2.3 version. Newly introduced HVM instance flags
will be unset for existing HVM instances after the upgrade. Those unset
flags will be treated as set to the previously hardcoded values where
this makes sense (ACPI and PAE flags).

Reviewed-by: iustinp
lib/constants.py
lib/hypervisor.py