From 47b9cb0d87524e6598da025f3c49cd013f00606b Mon Sep 17 00:00:00 2001 From: Adam Glasgall Date: Wed, 7 Aug 2013 21:41:36 -0400 Subject: [PATCH] create disks as hda instead of xvda so as to avoid breaking qemu-dm --- code/controls.py | 2 +- debian/changelog | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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. -- 1.7.9.5