[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] HVM domain with VT-d passthrough fails to boot (was: [PATCH 2/2] ioemu: Enable guest OS to program D0-D3hot states of an assigned device)



Hi Simon,

I found a bug in my patch.

If we assign the device that doesn't have Power Management Capability
Structure to guest domain, qemu accesses NULL pointer.

I'll submit the patch to fix the bug ASAP.

thanks,
--
Yuji Shimada

On Wed, 18 Feb 2009 11:43:08 +1100
Simon Horman <horms@xxxxxxxxxxxx> wrote:

> Thanks for your suggestions.
> I'll look into them and get back to you.
> 
> On Wed, Feb 18, 2009 at 09:26:20AM +0900, Yuji Shimada wrote:
> > Thank you for sending the logs.
> > 
> > Qemu is killed by the kernel due to segmentation fault.
> > 
> > [   94.509681] qemu-dm[2578]: segfault at c ip 00000000004734a4 sp 
> > 00007fff31294610 error 4 in qemu-dm[400000+f4000]
> > 
> > My patch changed "struct PCIDevice" in hw/pci.h.
> > "make -C tools clean" is needed before "make".
> > If you did not execute "make -C tools clean", it might cause the
> > issue.
> > 
> > If "make -C tools clean" does not fix the issue, could you investigate
> > why segmentation fault occurs. Starting qemu-dm under gdb server will
> > help to investigate. Configuring kernel to create core dump on
> > segmentation fault will also help.
> > 
> > Thanks,
> > --
> > Yuji Shimada
> > 
> > On Tue, 17 Feb 2009 20:53:38 +1100
> > Simon Horman <horms@xxxxxxxxxxxx> wrote:
> > 
> > > On Tue, Feb 17, 2009 at 06:17:11PM +0900, Yuji Shimada wrote:
> > > > Hi Simon,
> > > > 
> > > > I don't know why the HVM domain in your system fails to boot.
> > > > My machine works well.
> > > > 
> > > > Could you send me the following logs?
> > > >  - xend.log
> > > >  - qemu-dm-XX.log
> > > >  - Guest Domain's configuration file
> > > >  - xm dmesg
> > > >  - dmesg
> > > >  - lspci -vvxxxx
> > > > 
> > > > Thanks,
> > > > --
> > > > Yuji Shimada
> > > 
> > > Hi Shimada-san,
> > > 
> > > here are the logs that you requested.
> > > 
> > > -- 
> > > Simon Horman
> > >   VA Linux Systems Japan K.K., Sydney, Australia Satellite Office
> > >   H: www.vergenet.net/~horms/             W: www.valinux.co.jp/en
> 
> -- 
> Simon Horman
>   VA Linux Systems Japan K.K., Sydney, Australia Satellite Office
>   H: www.vergenet.net/~horms/             W: www.valinux.co.jp/en


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.