Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15
virt-manager.9957
virtinst-set-qemu-emulator.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File virtinst-set-qemu-emulator.patch of Package virt-manager.9957
Use the correct qemu emulator based on the architecture. We want to get away from using the old qemu-dm emulator for Xen HVM guests so default to qemu-system-i386. Index: virt-manager-1.5.0/virtinst/guest.py =================================================================== --- virt-manager-1.5.0.orig/virtinst/guest.py +++ virt-manager-1.5.0/virtinst/guest.py @@ -897,14 +897,11 @@ class Guest(XMLBuilder): self.emulator = None return - if self.emulator: - return - if self.os.is_hvm() and self.type == "xen": - if self.conn.caps.host.cpu.arch == "x86_64": - self.emulator = "/usr/lib64/xen/bin/qemu-dm" - else: - self.emulator = "/usr/lib/xen/bin/qemu-dm" + # Force not using Xen's old qemu-dm except for remote + # connections where we don't know the Xen version + if not self.conn.is_remote() or not self.emulator: + self.emulator = "/usr/lib/xen/bin/qemu-system-i386" def _set_cpu_x86_kvm_default(self): if self.os.arch != self.conn.caps.host.cpu.arch:
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