xen-devel
[Xen-devel] Re: Xen 3.4 multi-function pass-through tree, isn't working.
This setup worked with the plain xen 3.4 tree.
No custom stuff in /etc/xen/hvm.
I took a look at the bug, and wrote a workaround for it. Take a look,
and tell if it's ok:
diff -r 776ab1bec020 tools/python/xen/xend/server/pciif.py
--- a/tools/python/xen/xend/server/pciif.py Sun Jul 19 11:53:11 2009 -0400
+++ b/tools/python/xen/xend/server/pciif.py Mon Jul 20 08:17:34 2009 -0400
@@ -499,7 +499,13 @@
num_devs = int(self.readBackend(devid, 'num_devs'))
new_num_devs = 0
for i in range(num_devs):
- state = int(self.readBackend(devid, 'state-%i' % i))
+ try:
+ state = int(self.readBackend(devid, 'state-%i' % i))
+ except:
+ state = xenbusState['Unknown']
+
if state == xenbusState['Closing']:
# Detach I/O resources.
pci_dev = parse_pci_name(self.readBackend(devid, 'dev-%i' % i))
What do u think this bug is caused from?
On Mon, Jul 20, 2009 at 3:04 PM, Simon Horman<horms@xxxxxxxxxxxx> wrote:
> On Mon, Jul 20, 2009 at 02:03:38PM +0300, Tom Rotenberg wrote:
>> Hi,
>>
>> I have cloned and compiled the latest Xen 3.4 multifunction
>> pass-through tree, you have published, and it doesn't seem to work.
>> I did the following:
>> 1. Reboot the machine
>> 2. Binded all the usb devices to pci-back, and made them all to be mmio
>> aligned
>> 3. Run the following command:
>> xm create /etc/xen/hvm xen_platform_pci=0 pci='00:1a.0'
>> pci='00:1a.1' pci='00:1a.2' pci='00:1a.7' pci='00:1d.0' pci='00:1d.1'
>> pci='00:1d.2' pci='00:1d.7'
>
> Hi Tom,
>
> that looks a lot like a bug to me, thanks for your comprehensive report.
> A few questions.
>
> * Does this setup work with the regular xen-3.4-testing tree?
> * Is there anything custom in /etc/xen/hvm ?
> If so, would it be possible for you to post a copy of that
> file to aid reproducing the problem?
>
> Thanks
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] Xen 3.4 multi-function pass-through tree, isn't working..., Tom Rotenberg
- [Xen-devel] Re: Xen 3.4 multi-function pass-through tree, isn't working..., Simon Horman
- [Xen-devel] Re: Xen 3.4 multi-function pass-through tree, isn't working...,
Tom Rotenberg <=
- [Xen-devel] Re: Xen 3.4 multi-function pass-through tree, isn't working..., Simon Horman
- [Xen-devel] Re: Xen 3.4 multi-function pass-through tree, isn't working..., Tom Rotenberg
- [Xen-devel] Re: Xen 3.4 multi-function pass-through tree, isn't working..., Simon Horman
- Re: [Xen-devel] Re: Xen 3.4 multi-function pass-through tree, isn't working..., Simon Horman
- Re: [Xen-devel] Re: Xen 3.4 multi-function pass-through tree, isn't working..., Tom Rotenberg
- Re: [Xen-devel] Re: Xen 3.4 multi-function pass-through tree, isn't working..., Tom Rotenberg
- Re: [Xen-devel] Re: Xen 3.4 multi-function pass-through tree, isn't working..., Simon Horman
- Re: [Xen-devel] Re: Xen 3.4 multi-function pass-through tree, isn't working..., Tom Rotenberg
- Re: [Xen-devel] Re: Xen 3.4 multi-function pass-through tree, isn't working..., Simon Horman
- Re: [Xen-devel] Re: Xen 3.4 multi-function pass-through tree, isn't working..., Tom Rotenberg
|
|
|