+invirt-xen-config (0.0.54) precise; urgency=low
+
+ * Add support for using pvgrub to boot paravms.
+
+ -- Adam Glasgall <glasgall@mit.edu> Mon, 09 Jun 2014 13:47:59 -0400
+
invirt-xen-config (0.0.53) unstable; urgency=low
* Fix machine UUID assignment after SQLAlchemy started returning Unicode
Depends: ${misc:Depends}, dsniff, lvm2, grub-pc,
xen-hypervisor-4.1, xen-utils-4.1, xen-tools, invirt-base,
bridge-utils, python-sqlalchemy, python-psycopg2, invirt-database,
- ethtool
+ ethtool, pvgrub
Provides: ${diverted-files}
Conflicts: ${diverted-files}
Description: Xen configuration for Invirt host
codepath = 'hvm'
else:
codepath = 'paravm'
+ if machine_type.type_id = 'linux-pvgrub':
+ use_pvgrub = True
+ else:
+ use_pvgrub = False
if 'installer_options' in locals(): #Installer
import shlex
device_model = '/usr/sbin/qemu-dm-invirt'
serial = "pty"
elif codepath == 'paravm':
- bootloader = '/usr/bin/pygrub'
-
+ if use_pvgrub:
+ kernel = '/usr/lib/grub/grub.xen'
+ else:
+ bootloader = '/usr/bin/pygrub'
for n in machine.nics:
check(re.match('^[0-9a-fA-F:]+$', n.mac_addr) and re.match('^[0-9.]*$', n.ip))