From: Adam Glasgall Date: Thu, 8 Aug 2013 01:41:36 +0000 (-0400) Subject: create disks as hda instead of xvda so as to avoid breaking qemu-dm X-Git-Tag: 0.1.38^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/commitdiff_plain/47b9cb0d87524e6598da025f3c49cd013f00606b create disks as hda instead of xvda so as to avoid breaking qemu-dm --- diff --git a/code/controls.py b/code/controls.py index 0661927..a5f1693 100644 --- a/code/controls.py +++ b/code/controls.py @@ -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! " diff --git a/debian/changelog b/debian/changelog index f3b8baf..6573a6f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Wed, 07 Aug 2013 21:41:51 -0400 + invirt-web (0.1.37) unstable; urgency=low * Fixed changelog entries.