Bug 1034693

Summary: Unable to install emulated ppc64 VM, needs stdvga instead of qxl
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: berrange, crobinso, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: virt-manager-1.0.0-3.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-04 06:46:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Tim Waugh 2013-11-26 11:00:05 UTC
Description of problem:
Having installed qemu-system-ppc-1.6.1-2.fc20.x86_64 I'm trying to install a ppc64 system using virt-manager. I chose "Linux" for OS type and "19" for Version, and I've selected "ppc64" in the Architecture options section of the New VM dialog, but none of the machine types I can select result in a new VM. Each gives an error:

pseries:
Unable to complete install: 'internal error: process exited while connecting to monitor: Warning: Disabling some instructions which are not emulated by TCG (0x0, 0x6)
qemu-system-ppc64: -device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864: Parameter 'driver' expects device type
'

bamboo, mpc8544ds, none, ppce500, prep:
Unable to complete install: 'internal error: process exited while connecting to monitor: qemu-system-ppc64: -device virtio-serial-pci,id=virtio-serial0,bus=pci,addr=0x3: Bus 'pci' not found
'

g3beige:
Unable to complete install: 'internal error: process exited while connecting to monitor: qemu-system-ppc64: -device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:0b:48:8b,bus=pci,addr=0x1: PCI: slot 1 function 0 not available for rtl8139, in use by macio-oldworld
qemu-system-ppc64: -device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:0b:48:8b,bus=pci,addr=0x1: Device initialization failed.
qemu-system-ppc64: -device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:0b:48:8b,bus=pci,addr=0x1: Device 'rtl8139' could not be initialized
'

mac99:
Unable to complete install: 'internal error: process exited while connecting to monitor: qemu-system-ppc64: -device isa-serial,chardev=charserial0,id=serial0: No 'ISA' bus found for device 'isa-serial'
'

ref405ep:
Unable to complete install: 'internal error: process exited while connecting to monitor: ref405ep_init: register cpu
ppc4xx_opba_init: offset 00000000ef600600
ppc405_gpio_init: offset 00000000ef600700
ppc4xx_gpt_init: offset 00000000ef600000
ref405ep_init: register BIOS
Load BIOS from file
qemu: could not load PowerPC bios 'ppc405_rom.bin'
'

taihu:
Unable to complete install: 'internal error: process exited while connecting to monitor: taihu_405ep_init: register cpu
ppc4xx_opba_init: offset 00000000ef600600
ppc405_gpio_init: offset 00000000ef600700
ppc4xx_gpt_init: offset 00000000ef600000
taihu_405ep_init: register BIOS
Load BIOS from file
qemu: could not load PowerPC bios 'ppc405_rom.bin'
'

virtex-ml507:
Unable to complete install: 'internal error: process exited while connecting to monitor: Can't create serial device, empty char device
'

Version-Release number of selected component (if applicable):
virt-manager-0.10.0-5.git1ffcc0cc.fc20.noarch
libvirt-daemon-1.1.3.1-2.fc20.x86_64
qemu-common-1.6.1-2.fc20.x86_64
qemu-system-ppc-1.6.1-2.fc20.x86_64

How reproducible:
Every time.

Comment 1 Cole Robinson 2013-11-26 15:10:55 UTC
The only machine type that gets any real attention WRT virt is pseries. I can get it to boot by using the stdvga graphics card, so we need to change the default in virt-manager.

Comment 2 Cole Robinson 2013-12-18 21:17:45 UTC
Fixed upstream now

Comment 3 Fedora Update System 2014-02-15 00:56:41 UTC
virt-manager-1.0.0-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/virt-manager-1.0.0-1.fc20

Comment 4 Tim Waugh 2014-02-17 11:35:21 UTC
With virt-manager-1.0.0-1.fc20.noarch I get this for every ppc64 machine type:

Unable to complete install: 'unsupported configuration: setting ACPI S3 not supported'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 91, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 1781, in do_install
    guest.start_install(meter=meter)
  File "/usr/share/virt-manager/virtinst/guest.py", line 400, in start_install
    noboot)
  File "/usr/share/virt-manager/virtinst/guest.py", line 464, in _create_guest
    dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2897, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: unsupported configuration: setting ACPI S3 not supported

Comment 5 Cole Robinson 2014-02-17 17:00:24 UTC
Doh, fixed one issue only to add another one later. I'll push a new update in a bit

Comment 6 Fedora Update System 2014-02-18 23:03:41 UTC
virt-manager-1.0.0-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/virt-manager-1.0.0-2.fc20

Comment 7 Fedora Update System 2014-02-22 00:38:36 UTC
Package virt-manager-1.0.0-2.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing virt-manager-1.0.0-2.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-2789/virt-manager-1.0.0-2.fc20
then log in and leave karma (feedback).

Comment 8 Tim Waugh 2014-02-24 13:05:27 UTC
Thanks. It creates the guest now, although for some (I guess unrelated) reason it doesn't get as far as anaconda when installing F19 ppc64.

Comment 9 Fedora Update System 2014-02-28 18:25:03 UTC
virt-manager-1.0.0-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/virt-manager-1.0.0-3.fc20

Comment 10 Fedora Update System 2014-03-04 06:46:35 UTC
virt-manager-1.0.0-3.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.