WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] pciback error - what does it mean?

To: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] pciback error - what does it mean?
From: Stefan Neuwirth <neuwirt-xen-devel@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 29 Aug 2006 22:29:37 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 29 Aug 2006 13:49:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <A95E2296287EAD4EB592B5DEEFCE0E9D5725B4@xxxxxxxxxxxxxxxxxxxxxxxxxxx> (Ian Pratt's message of "Tue, 29 Aug 2006 21:16:16 +0100")
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <A95E2296287EAD4EB592B5DEEFCE0E9D5725B4@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, linux)
"Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx> writes:

>> >> Cardbus bridges have a "2" in this field. No idea what will happen
> if
>> >> you disable this test in pciback, but it's worth a go...
>> >
>> > It'll almost certainly just work. I'm not sure a test on device type
> is
>> > really necessary.
>> 
>> Just disable the test will lead to trouble in function
>> pciback_config_header_add_fields
>> (.../xen/pciback/conf_space_header.c). There are two structures called
>> header_0 and header_1 that are used by pciback_config_add_fields. So
>> someone decided to not implement header_2 - maybe there was a reason
>> for the decision...
>
> Looking at include/linux/pci_regs.h there's quite a lot of similarity
> between a 'bridge' header type 1 and a 'cardbus bridge' header type2.
> It may well work defining a header_2 the same as header_1 and adding it
> to pciback_config_header_add_fields

Ok, everything back to start. It's not necessary to give the
card-bridge device to the guest system. I can use the pcmcia card in
the guest system just by giving the pci id of this card to the guest
and let the dom0 system init and manage the bridge - I'm really
suprised that it works this way.



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

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