create disks as hda instead of xvda so as to avoid breaking qemu-dm 0.1.38
authorAdam Glasgall <adam@crossproduct.net>
Thu, 8 Aug 2013 01:41:36 +0000 (21:41 -0400)
committerAdam Glasgall <adam@crossproduct.net>
Thu, 8 Aug 2013 01:43:01 +0000 (21:43 -0400)
code/controls.py
debian/changelog

index 0661927..a5f1693 100644 (file)
@@ -112,7 +112,7 @@ def createVm(username, state, owner, contact, name, description, memory, disksiz
         machine.type = machine_type
         session.add(machine)
         disk = Disk(machine=machine,
-                    guest_device_name='xvda', size=disksize)
+                    guest_device_name='hda', size=disksize)
         nic = NIC.query.filter_by(machine_id=None).filter_by(reusable=True).first()
         if not nic: #No IPs left!
             raise CodeError("No IP addresses left!  "
index f3b8baf..6573a6f 100644 (file)
@@ -1,3 +1,9 @@
+invirt-web (0.1.38) precise; urgency=low
+
+  * Create disks as hda instead of xvda to avoid breaking new HVMs
+
+ -- Adam Glasgall <glasgall@mit.edu>  Wed, 07 Aug 2013 21:41:51 -0400
+
 invirt-web (0.1.37) unstable; urgency=low
 
   * Fixed changelog entries.