Mailing List Archive

[Bug 1752] New: [VT-D]device reset fail when create/destroy guest
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1752

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@lists.xensource.com
ReportedBy: yang.z.zhang@intel.com


Environment:
------------
Service Arch (ia32/ia32e/IA64): 32e
Guest Arch (ia32/ia32e/IA64): 32e
Guest OS Type (Linux/Windows):Linux
Change Set: 22977
Hardware: All
Other:
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@citrix.com>
Date: Thu Dec 9 17:16:16 2010 -0800

ioemu git:
commit e073e69457b4d99b6da0b6536296e3498f7f6599
Author: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
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
ready
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: http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@lists.xensource.com
http://lists.xensource.com/xen-bugs