RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1461686 - Failed to boot up guest with "-cpu POWER9" on power9 host
Summary: Failed to boot up guest with "-cpu POWER9" on power9 host
Keywords:
Status: CLOSED DUPLICATE of bug 1460908
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.4-Alt
Hardware: ppc64le
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: David Gibson
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-15 07:48 UTC by Xujun Ma
Modified: 2017-06-21 12:00 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-16 04:20:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Xujun Ma 2017-06-15 07:48:14 UTC
Description of problem:
Failed to boot up guest with "-cpu POWER9"  on power9 host

Version-Release number of selected component (if applicable):
host kernel:4.11.0-7.el7.test.ppc64le
guest kernel:4.11.0-5.el7.ppc64le
qemu-kvm-rhev-2.9.0-7.el7.ppc64le
host cpu model:
[root@localhost test]# lscpu
Architecture:          ppc64le
Byte Order:            Little Endian
CPU(s):                16
On-line CPU(s) list:   0-15
Thread(s) per core:    4
Core(s) per socket:    2
Socket(s):             2
NUMA node(s):          2
Model:                 1.0 (pvr 004e 0100)
Model name:            POWER9 (raw), altivec supported
L1d cache:             32K
L1i cache:             32K
L2 cache:              512K
L3 cache:              10240K
NUMA node0 CPU(s):     0-7
NUMA node8 CPU(s):     8-15


How reproducible:
100%

Steps to Reproduce:
1.Boot up gues with command:
/usr/libexec/qemu-kvm \
 -name vm \
 -m 8192 \
 -rtc base=utc,clock=vm \
 -chardev stdio,mux=on,id=serial_id_serial0,server,nowait \
 -M pseries -cpu POWER9\
 -device spapr-vty,id=serial111,chardev=serial_id_serial0 \
 -mon chardev=serial_id_serial0,mode=readline \
 -nodefaults \
 -smp 4,maxcpus=4,cores=4,threads=1,sockets=1 \
 -device virtio-scsi-pci,bus=pci.0,addr=0x5 \
 -device scsi-hd,id=scsi-hd0,drive=scsi-hd-dr0,bootindex=1\
 -drive file=pegas.qcow2,if=none,id=scsi-hd-dr0,format=qcow2,cache=none \
 -device virtio-net-pci,netdev=net0,id=nic0,mac=70:e2:84:14:e7:84 \
 -netdev tap,id=net0,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown,vhost=on 
2.
3.

Actual results:
Failed to boot up guest with error:
qemu-kvm: Unable to find sPAPR CPU Core definition
device tap0 is not a slave of switch
qemu-kvm: network script /etc/qemu-ifdown failed with status 256


Expected results:
Boot up without error.


Additional info:
ppc only

Comment 2 Qunfang Zhang 2017-06-15 07:54:54 UTC
A duplicate with:

Bug 1460908 - qemu-kvm-rhev: POWER9 CPU model not usable on POWER9 machine

Comment 3 David Gibson 2017-06-16 04:20:45 UTC

*** This bug has been marked as a duplicate of bug 1460908 ***


Note You need to log in before you can comment on or make changes to this bug.