All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] passthrough: make management of PCI D-states by guest optional
@ 2009-03-06  5:23 Kouya Shimura
  2009-03-06  5:26 ` [PATCH 1/2] tool: " Kouya Shimura
                   ` (3 more replies)
  0 siblings, 4 replies; 20+ messages in thread
From: Kouya Shimura @ 2009-03-06  5:23 UTC (permalink / raw)
  To: xen-devel; +Cc: Yuji Shimada, Ian Jackson

Hi,

Using D3hot state of PCI devices in xen is not mature yet.
I met domain destruction/creation troubles in some PCI cards since the
PCI config registers can't be read with D3hot state. xend.log is attached.

This patch set makes the management of PCI D-states by guest optional.

The default is "pci_power_mgmt=0" which disables the guest OS from
managing D-states because it would be better to avoid the trouble than
advantage of low power consumption.

Thanks,
Kouya

>From xend.log:

[2009-03-04 09:49:24 4356] ERROR (XendDomainInfo:2584) XendDomainInfo.destroy: domain destruction failed.
Traceback (most recent call last):
  File "/usr/lib64/python/xen/xend/XendDomainInfo.py", line 2578, in destroy
    do_FLR(self.domid)
  File "/usr/lib64/python/xen/xend/XendDomainInfo.py", line 314, in do_FLR
    raise VmError("pci: failed to locate device and "+
VmError: pci: failed to locate device and parse it's resources - ord() expected a character, but string of length 0 found
...[snip]...
[2009-03-04 10:31:24 4343] ERROR (XendDomainInfo:2445) XendDomainInfo.initDomain: exception occurred
Traceback (most recent call last):
  File "/usr/lib64/python/xen/xend/XendDomainInfo.py", line 2437, in _initDomain
    self._createDevices()
  File "/usr/lib64/python/xen/xend/XendDomainInfo.py", line 2049, in _createDevices
    devid = self._createDevice(devclass, config)
  File "/usr/lib64/python/xen/xend/XendDomainInfo.py", line 2016, in _createDevice
    return self.getDeviceController(deviceClass).createDevice(devConfig)
  File "/usr/lib64/python/xen/xend/server/DevController.py", line 67, in createDevice
    self.setupDevice(config)
  File "/usr/lib64/python/xen/xend/server/pciif.py", line 399, in setupDevice
    raise VmError("pci: failed to locate device and "+
VmError: pci: failed to locate device and parse it's resources - ord() expected a character, but string of length 0 found

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2009-04-23  7:08 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-06  5:23 [PATCH 0/2] passthrough: make management of PCI D-states by guest optional Kouya Shimura
2009-03-06  5:26 ` [PATCH 1/2] tool: " Kouya Shimura
2009-03-06  5:26 ` [PATCH 2/2] ioemu: " Kouya Shimura
2009-03-11  8:16   ` Yuji Shimada
2009-03-11  8:57     ` Kouya Shimura
2009-03-12  6:05     ` [PATCH v2 " Kouya Shimura
2009-03-06  7:40 ` [PATCH 0/2] passthrough: " Yuji Shimada
2009-03-06 13:41   ` Cui, Dexuan
2009-03-09  0:38     ` Kouya Shimura
2009-03-09  0:46       ` Red Hat dropped XEN Venefax
2009-03-09  7:41         ` Jayaraman, Bhaskar
2009-03-09  8:07           ` Keir Fraser
2009-03-09  8:06         ` Keir Fraser
2009-03-09 10:13         ` Daniel P. Berrange
2009-03-09 10:22           ` Venefax
2009-03-09 16:41             ` Mike Brady
2009-03-09 16:45               ` Venefax
2009-03-09  5:29       ` Re: [PATCH 0/2] passthrough: make management of PCI D-states by guest optional Cui, Dexuan
2009-04-23  5:48 ` Yuji Shimada
2009-04-23  7:08   ` Kouya Shimura

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.