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] Possible bug with pass-through hot-plug?

To: Simon Horman <horms@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Possible bug with pass-through hot-plug?
From: Tom Rotenberg <tom.rotenberg@xxxxxxxxx>
Date: Sun, 11 Oct 2009 11:57:00 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 11 Oct 2009 02:57:23 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Ap0ohxKCzpLYOboKRkVwdab1EVtzWUnFGLFzX1/1dNM=; b=vTIfchb1Sjs2jac+zPUeYwYsHlN6bjAf9YSFXIoQRi0XD8ldX7ojNdf1RKwkI7dPqE c7r+dUk4uCqcB3xeq7SWqZLuFszzjHg4w+Z+HzHySWYGrD8Yce0DwPuPlYXUgzmtDiRu DESklPRGqfcxD8MYKfThPCTYB6HC8+BwlayQU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ui/vBkwUIz+hJ7Yd8GQ07viBmwSbwHbJLTT1PiYlnaK5ICmzE4jez9v7mPPEzIkR// Hky3NJ+GBAvpzm9ufd0I9+5wslvesfSjeggtDmYgJqk+wTU4tGZELhL4GkjrRGzoRrUj d3j2zZB71YSxmZ60IjdVcGWG4j7/K56bPbRzw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20091010014127.GB22324@xxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <8686c3cd0910080655lc74ac21o644d9c88cb6bddcb@xxxxxxxxxxxxxx> <8686c3cd0910090136v633b1275k7d58c55a3645da65@xxxxxxxxxxxxxx> <20091009085918.GB7390@xxxxxxxxxxxx> <20091009090743.GC7390@xxxxxxxxxxxx> <8686c3cd0910090430v49101412l93c8061d83d48b43@xxxxxxxxxxxxxx> <20091009114720.GA29353@xxxxxxxxxxxx> <8686c3cd0910090449s19f7a44br91f3937f2ca485a3@xxxxxxxxxxxxxx> <20091009120927.GA31495@xxxxxxxxxxxx> <8686c3cd0910090729p7f7a1c2aq482bf9c70fab0910@xxxxxxxxxxxxxx> <20091010014127.GB22324@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Simon,

Well, just tried it, according to what u requested, and it still doesn't work.

Here are the lines from the qemu log:
...
platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state.
platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro state.
dm-command: hot insert pass-through pci dev
insert_to_pci_devfn: bdf_slt="0000:00:1b.0@e8"
insert_to_pci_devfn: devfn=0xe8 -> slot=0x1d, func=0x0
register_real_device: Assigning real physical device 00:1b.0 ...
pt_iomul_init: Error: pt_iomul_init can't open file
/dev/xen/pci_iomul: No such file or directory: 0x0:0x1b.0x0
pt_register_regions: IO region registered (size=0x00004000 base_addr=0xfc220004)
register_real_device: Real physical device 00:1b.0 registered successfuly!
IRQ type = INTx
generate a sci for PHP.
deassert due to disable GPE bit.
pt_pci_write_config: Warning: Guest attempt to set address to unused
Base Address Register. [00:1d.0][Offset:30h][Length:4]
dm-command: hot remove pass-through pci dev
...

I performed the following sequence:
...
xm create
<waited untill Windows booted>
xm pci-attach hvm 00:1b.0@1d
<I saw that it worked>
xm pci-detach hvm 00:1b.0
...

Tom

On Sat, Oct 10, 2009 at 3:41 AM, Simon Horman <horms@xxxxxxxxxxxx> wrote:
> Hi Tom,
>
> I will need to have someone locate some windows media for me,
> which won't be able to take place until at least Tuesday.
> Which version are you using? And is it 32 or 64 bit?
>
> In order to test my theory just apply the debug patch that
> I posted and look in the qemu logs as you did previously.
> But run the test using non-auto vslot and without your force-vslot patch.
>
> That is, something along the lines of:
>
>        xm pci-attach hvm 01:00.0@1d
>
>

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

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