Bug 1817955 - Guest can not start with eoi attribute ('on' or 'off') in apic element
Summary: Guest can not start with eoi attribute ('on' or 'off') in apic element
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux Advanced Virtualization
Classification: Red Hat
Component: libvirt
Version: 8.1
Hardware: ppc64le
OS: Linux
low
low
Target Milestone: rc
: 8.3
Assignee: Daniel Henrique Barboza (IBM)
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-27 10:11 UTC by Andrea Bolognani
Modified: 2020-11-17 17:48 UTC (History)
13 users (show)

Fixed In Version: libvirt-6.2.0-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1236440
Environment:
Last Closed: 2020-11-17 17:47:42 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Andrea Bolognani 2020-03-27 10:11:45 UTC
+++ This bug was initially created as a clone of Bug #1236440 +++

Version-Release number of selected component (if applicable):
libvirt-1.2.16-1.el7.ppc64le
qemu-kvm-rhev-2.3.0-5.el7.ppc64le
kernel-3.10.0-282.el7.ppc64le


How reproducible:
100%

Steps to Reproduce:
1. Edit XML with eoi='on':
<domain type='kvm' id='7'>
......
<features>
  <acpi/>
  <apic eoi='on'/>
  <pae/>
</features>
<cpu mode='host-model'>
  <model fallback='allow'/>
  <topology sockets='1' cores='5' threads='1'/>
</cpu>

......
</domain>

2. Start guest
[root@ibm-p8-kvm-02-qe var]# virsh start dzhengvm1
error: Failed to start domain dzhengvm1
error: internal error: process exited while connecting to monitor: 2015-06-29T02:28:33.954643Z qemu-kvm: Expected key=value format, found +kvm_pv_eoi.
Unable to find PowerPC CPU definition

3. Edit XML with eoi='off'
<domain type='kvm' id='7'>
......
<features>
  <acpi/>
  <apic eoi='off'/>
  <pae/>
</features>
<cpu mode='host-model'>
  <model fallback='allow'/>
  <topology sockets='1' cores='5' threads='1'/>
</cpu>
......
</domain>

4. Start guest
[root@ibm-p8-kvm-02-qe var]# virsh start dzhengvm1
error: Failed to start domain dzhengvm1
error: internal error: process exited while connecting to monitor: 2015-06-29T02:29:03.297787Z qemu-kvm: Expected key=value format, found -kvm_pv_eoi.
Unable to find PowerPC CPU definition




Actual result:
Guest can not start.

Expected result:
Guest should start correctly.

Additional information:
-- 
No error info in libvirt log and guest log.

Comment 1 Daniel Henrique Barboza (IBM) 2020-03-30 21:24:04 UTC
Fix merged upstream:


commit dbda73ff27cf185fb5db498cc4db281b2d76778d
Author: Daniel Henrique Barboza <danielhb413>
Date:   Tue Mar 24 14:33:21 2020 -0300

    qemu: avoid launching non-x86 guests with APIC-EOI setting

v6.1.0-276-gdbda73ff27

Comment 5 Dan Zheng 2020-05-11 09:26:40 UTC
Package:
libvirt-6.3.0-1.module+el8.3.0+6478+69f490bb.ppc64le

1.Define a guest with eoi:
Add below in xml and define a guest, then an error is raised as below. - PASS
<features>
  <acpi/>
  <apic eoi='on'/>
  <pae/>
</features>
# virsh define dz.xml 
error: Failed to define domain from dz.xml
error: unsupported configuration: The 'eoi' attribute of the 'apic' feature is not supported for architecture 'ppc64le' or machine type 'pseries-rhel8.2.0'


2. Edit a guest with eoi
Add below into a guest xml, then an error is raised as below. - PASS
<features>
  <acpi/>
  <apic eoi='off'/>
  <pae/>
</features>
# virsh edit dz1
error: unsupported configuration: The 'eoi' attribute of the 'apic' feature is not supported for architecture 'ppc64le' or machine type 'pseries-rhel8.2.0'

So I mark it verified.

Comment 9 errata-xmlrpc 2020-11-17 17:47:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (virt:8.3 bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:5137


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