Bug 508711

Summary: attach-device: pci error
Product: [Community] Virtualization Tools Reporter: Marc Morata Fité <mmorata>
Component: libvirtAssignee: Daniel Veillard <veillard>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: berrange, crobinso, mmorata, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-30 11:45:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marc Morata Fité 2009-06-29 15:01:56 UTC
Description of problem:
attach-device fails with a pci error. I've found 2 kinds of error:


error1:
17:33:49.256: debug : qemudDomainAttachPciDiskDevice:3989 : 4b7728d2-3e69-43d6-a107-344566c43085: pci_add reply: QEMU 0.10.0 monitor - type 'help' for more information

error2:
17:35:27.553: debug : qemudDomainAttachPciDiskDevice:3989 : 4b7728d2-3e69-43d6-a107-344566c43085: pci_add reply: pci_add 0 storage file=/dev/disk/by-path/ip-192.168.1.221:3260-iscsi-iqn.1986-03.com.sun:02:5d
a9fe7e-faa6-e672-e9a1-cc7582f19650-lun-0,if=scsi
Invalid pci address


Version-Release number:
0.6.4

Comment 1 Daniel Berrangé 2009-07-30 11:45:44 UTC
QEMU changed monitor syntax for PCI attach, so we've added support for the new syntax in libvirt


commit 326ecb78145cfeb7706ef0dcd521b19d934950e7
Author: Daniel P. Berrange <berrange>
Date:   Mon Jul 6 15:58:55 2009 +0100

    Fix PCI device hotplug/unplug with newer QEMU
    
    * src/qemu_driver.c: Try new monitor syntax for hotplug first. If
      that fails fallback to old KVM specific syntax


This will be included in the next 0.7.0 release