From: Tom Rotenberg Subject: Re: Possible bug with pass-through hot-plug? Date: Sun, 11 Oct 2009 11:57:00 +0200 Message-ID: <8686c3cd0910110257oa841842q2ed87f6b0f5b7a35@mail.gmail.com> References: <8686c3cd0910080655lc74ac21o644d9c88cb6bddcb@mail.gmail.com> <8686c3cd0910090136v633b1275k7d58c55a3645da65@mail.gmail.com> <20091009085918.GB7390@verge.net.au> <20091009090743.GC7390@verge.net.au> <8686c3cd0910090430v49101412l93c8061d83d48b43@mail.gmail.com> <20091009114720.GA29353@verge.net.au> <8686c3cd0910090449s19f7a44br91f3937f2ca485a3@mail.gmail.com> <20091009120927.GA31495@verge.net.au> <8686c3cd0910090729p7f7a1c2aq482bf9c70fab0910@mail.gmail.com> <20091010014127.GB22324@verge.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20091010014127.GB22324@verge.net.au> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Simon Horman Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Simon, Well, just tried it, according to what u requested, and it still doesn't wo= rk. Here are the lines from the qemu log: ... platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw st= ate. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro st= ate. dm-command: hot insert pass-through pci dev insert_to_pci_devfn: bdf_slt=3D"0000:00:1b.0@e8" insert_to_pci_devfn: devfn=3D0xe8 -> slot=3D0x1d, func=3D0x0 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=3D0x00004000 base_addr=3D0x= fc220004) register_real_device: Real physical device 00:1b.0 registered successfuly! IRQ type =3D 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 xm pci-attach hvm 00:1b.0@1d xm pci-detach hvm 00:1b.0 ... Tom On Sat, Oct 10, 2009 at 3:41 AM, Simon Horman 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: > > =A0 =A0 =A0 =A0xm pci-attach hvm 01:00.0@1d > >