This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-bugs] [Bug 1752] New: [VT-D]device reset fail when create/destroy g

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 1752] New: [VT-D]device reset fail when create/destroy guest
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Mon, 7 Mar 2011 04:57:11 -0800
Delivery-date: Mon, 07 Mar 2011 04:57:31 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx

           Summary: [VT-D]device reset fail when create/destroy guest
           Product: Xen
           Version: unstable
          Platform: x86-64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Hardware Support
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: yang.z.zhang@xxxxxxxxx

Service Arch (ia32/ia32e/IA64): 32e
Guest Arch (ia32/ia32e/IA64): 32e
Guest OS Type (Linux/Windows):Linux
Change Set: 22977
Hardware: All 
xen-changeset:   22977:bbc03993d31f
xen-date:        Sat Mar 05 16:02:33 2011 +0000

pvops git:
commit 75cc13f5aa29b4f3227d269ca165dfa8937c94fe
Merge: 2607c07... a386bf7...
Author: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>
Date:   Thu Dec 9 17:16:16 2010 -0800

ioemu git:
commit e073e69457b4d99b6da0b6536296e3498f7f6599
Author: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date:   Fri Feb 11 17:54:51 2011 +0000

Bug detailed description:
When create guest with NIC assigned, it will show the error:
libxl: error: libxl_pci.c:750:libxl_device_pci_reset write to
/sys/bus/pci/devices/0000:09:00.0/reset returned -1: Invalid argument

It shows the device function reset unsuccessfully, but the device works well
inside guest. It seems that the error just a warning. 
Also, it will show the same error when destroy guest:
[root@vt-nhm7 yang]# xl des 2
libxl: error: libxl_device.c:476:libxl__wait_for_device_model Device Model not
libxl: error: libxl_pci.c:872:do_pci_remove Device Model didn't respond in time
libxl: error: libxl_pci.c:750:libxl_device_pci_reset write to
/sys/bus/pci/devices/0000:0c:02.0/reset returned -1: Invalid argument

Though there will raise error, guest destroyed successfully.

Reproduce steps:
1.install latest xen unstable(22977)
2.prepare guest config file and assign a device in guest config file
3.using xl create config to boot guest

Current result:
Raise some error when creating guest

Expected result:
no error

Basic root-causing log:

Configure bugmail: 
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Xen-bugs mailing list

<Prev in Thread] Current Thread [Next in Thread>