Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
open-ovf
xenfv-libvirtxml.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xenfv-libvirtxml.patch of Package open-ovf
Index: open-ovf-0.1/py/ovf/OvfLibvirt.py =================================================================== --- open-ovf-0.1.orig/py/ovf/OvfLibvirt.py +++ open-ovf-0.1/py/ovf/OvfLibvirt.py @@ -341,6 +341,8 @@ def bootElements(domain, domainType): if domainType == 'qemu' or domainType == 'kqemu' or \ domainType == 'kvm' or domainType == 'xenfv': bootDict = dict(type = 'hvm', devices=['hd', 'cdrom']) + if domainType == 'xenfv': + bootDict['loader'] = '/usr/lib/xen/boot/hvmloader' elif domainType == 'xenpv': bootDict = dict(bootloader = '/usr/bin/pygrub', type = 'linux') @@ -1292,7 +1294,10 @@ def getOvfDomains(ovf, path, hypervisor= clock = clockElement('utc') #features - features = featuresElement(acpi=True) + if hypervisor == 'xenfv': + features = featuresElement(pae=True, acpi=True, apic=True) + else: + features = featuresElement(acpi=True) #life cycle onPowerOff = onPowerOffElement('destroy')
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor