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 1269697 - The error message should be improved while specify the ioeventfd disk
Summary: The error message should be improved while specify the ioeventfd disk
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libvirt
Version: 7.2
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Libvirt Maintainers
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-08 01:56 UTC by Xuesong Zhang
Modified: 2015-11-26 13:18 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-26 13:18:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Xuesong Zhang 2015-10-08 01:56:22 UTC
Description of problem:
While enalbe the ioeventfd in both the <disk...> and <<controller type='scsi'...> xml section, and the disk is one scsi disk, the error message should be improved since ioeventfd is support for both virtio and scsi disk now, not only virtio disk.

Version-Release number of selected component (if applicable):
libvirt-1.2.17-10.el7.x86_64
qemu-kvm-rhev-2.3.0-22.el7.x86_64
kernel-3.10.0-319.el7.x86_64


How reproducible:
100%

Steps to Reproduce:
1. prepare one guest like following one, enalbe the ioeventfd in both the <disk...> and <<controller type='scsi'...> xml section, and the disk is one scsi disk.
......
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' ioeventfd='on'/>
      <source file='/var/lib/libvirt/images/rhel7.1-virtio.img'/>
      <backingStore/>
      <target dev='sda' bus='scsi'/>
    </disk>
   <controller type='scsi' index='0'>
      <driver ioeventfd='on'/>
    </controller>
......
2. but the dumpxml can not be saved, it seems the ioeventfs='on' only support for the virtio bus.
# virsh edit rhel71
error: unsupported configuration: disk ioeventfd mode supported only for virtio bus
Failed. Try again? [y,n,i,f,?]: 

Actual results:
as step 2.

Expected results:
The error message os step2 should improved, since the ioeventfd is support by both virtio and scsi disk now.

Additional info:

Comment 1 Martin Kletzander 2015-10-14 10:42:30 UTC
Reading the message ince again, I see that there is no problem with that.  LEt me explain.  The message says taht "disk ioeventfd" is onlyvalid for virtio.  And that's true, ioeventfd makes sense on virtio devices only, so scsi disk has no reason to have ioeventfd enabled.  And yes, you can have scsi disck attached to a controller that is virtio and has ioeventfd, but that doesn't amke the disk virtio, but the whole controller.

Comment 2 Jaroslav Suchanek 2015-11-26 13:18:25 UTC
Closing per comment 1.


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