Changeset 671 for trunk/packages/sipb-xen-database/client
- Timestamp:
- Jul 10, 2008, 4:19:46 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-database/client/etc/xen/sipb-database
r490 r671 19 19 machine = models.Machine.get_by(name=machine_name) 20 20 check(machine is not None) 21 machine_type = models.Type.get_by(type_id=machine.type_id) 21 hvm = machine.type.hvm 22 if 'cdrom_image' in locals(): 23 hvm = True 22 24 23 25 memory = machine.memory … … 33 35 viftype = "" 34 36 35 if machine_type.hvm:37 if hvm: 36 38 ioemu = "ioemu:" 37 39 viftype = "type=ioemu, " … … 48 50 builder = 'linux' 49 51 50 pae = machine _type.pae51 acpi = machine _type.acpi52 apic = machine _type.apic52 pae = machine.type.pae 53 acpi = machine.type.acpi 54 apic = machine.type.apic 53 55 54 56 vif = []
Note: See TracChangeset
for help on using the changeset viewer.