qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: peter.maydell@linaro.org, drjones@redhat.com,
	qemu-devel@nongnu.org, Paul.Durrant@citrix.com,
	Anthony Liguori <anthony@codemonkey.ws>,
	lersek@redhat.com, david@gibson.dropbear.id.au
Subject: Re: [Qemu-devel] [PULL v4 00/18] pci,misc enhancements
Date: Thu, 11 Jul 2013 14:53:32 +0300	[thread overview]
Message-ID: <20130711115332.GA24980@redhat.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1307101633360.4618@kaball.uk.xensource.com>

On Wed, Jul 10, 2013 at 04:34:30PM +0100, Stefano Stabellini wrote:
> On Wed, 10 Jul 2013, Michael S. Tsirkin wrote:
> > On Wed, Jul 10, 2013 at 03:30:01PM +0100, Stefano Stabellini wrote:
> > > On Wed, 10 Jul 2013, Michael S. Tsirkin wrote:
> > > > On Wed, Jul 10, 2013 at 03:11:27PM +0100, Stefano Stabellini wrote:
> > > > > On Sun, 7 Jul 2013, Michael S. Tsirkin wrote:
> > > > > > From: Michael S. Tsirkin <mst@redhat.com>
> > > > > > 
> > > > > > Changes from v3:
> > > > > >     - fix up xen build
> > > > > > 
> > > > > > Changes from v2:
> > > > > >     - rebased to origin/master
> > > > > >     - fixed up botched posting
> > > > > > 
> > > > > > The following changes since commit ab8bf29078e0ab8347e2ff8b4e5542f7a0c751cf:
> > > > > > 
> > > > > >   Merge remote-tracking branch 'qemu-kvm/uq/master' into staging (2013-07-03 08:37:00 -0500)
> > > > > > 
> > > > > > are available in the git repository at:
> > > > > > 
> > > > > > 
> > > > > >   git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_anthony
> > > > > > 
> > > > > > for you to fetch changes up to 7588e2b0559ae72d3c2952c7807fc05c03099970:
> > > > > > 
> > > > > >   pci: Fold host_buses list into PCIHostState functionality (2013-07-07 23:10:57 +0300)
> > > > > 
> > > > > This patch series breaks Xen support in QEMU.
> > > > > Unfortunately QEMU exits at boot time with no output, I'll try to get
> > > > > back to you with more info.
> > > > 
> > > > This is the main change for Xen:
> > > > 
> > > > -    bus = pci_find_root_bus(0);
> > > > +    bus = pci_find_primary_bus();
> > > > 
> > > > Could you please try 1ef7a2a2afedbba47e06af5081a8b4bf6dc1cf71
> > > > that made this change, and 1ef7a2a2afedbba47e06af5081a8b4bf6dc1cf71~1 
> > > > before it?
> > > > 
> > > 
> > > git bisect tells me that the problem is caused by:
> > > 
> > > commit f8c457b88d72a48989f190bc3d7b79f4f3b7d11c
> > > Author: Michael S. Tsirkin <mst@redhat.com>
> > > Date:   Mon May 13 20:00:23 2013 +0300
> > > 
> > >     pc: pass PCI hole ranges to Guests
> > >         
> > 
> > 
> > Does this help?
> > 
> > 
> > diff --git a/hw/i386/pc.c b/hw/i386/pc.c
> > index 9f9207d..c7fc475 100644
> > --- a/hw/i386/pc.c
> > +++ b/hw/i386/pc.c
> > @@ -999,7 +999,7 @@ typedef struct PcRomPciInfo {
> >  static void pc_fw_cfg_guest_info(PcGuestInfo *guest_info)
> >  {
> >      PcRomPciInfo *info;
> > -    if (!guest_info->has_pci_info) {
> > +    if (!guest_info->has_pci_info || !guest_info->fw_cfg) {
> >          return;
> >      }
> >  
> 
> Yes, it does.
> Can we introduce a couple of macros to test for fw_cfg availability?
> Maybe they would help avoiding these issues in the future.

Needs some thought, but let's fix this quickly so master isn't broken for
people.

      reply	other threads:[~2013-07-11 11:52 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-07 20:19 [Qemu-devel] [PULL v4 00/18] pci,misc enhancements Michael S. Tsirkin
2013-07-07 20:19 ` [Qemu-devel] [PULL v4 01/18] range: add Range structure Michael S. Tsirkin
2013-07-07 20:19 ` [Qemu-devel] [PULL v4 03/18] pc: pass PCI hole ranges to Guests Michael S. Tsirkin
2013-07-07 20:19 ` [Qemu-devel] [PULL v4 04/18] pc_piix: cleanup init compat handling Michael S. Tsirkin
2013-07-07 20:19 ` [Qemu-devel] [PULL v4 05/18] e1000: cleanup process_tx_desc Michael S. Tsirkin
2013-07-07 20:19 ` [Qemu-devel] [PULL v4 06/18] MAINTAINERS: s/Marcelo/Paolo/ Michael S. Tsirkin
2013-07-07 20:19 ` [Qemu-devel] [PULL v4 07/18] pvpanic: initialization cleanup Michael S. Tsirkin
2013-07-07 20:20 ` [Qemu-devel] [PULL v4 08/18] pvpanic: fix fwcfg for big endian hosts Michael S. Tsirkin
2013-07-07 20:20 ` [Qemu-devel] [PULL v4 09/18] pci: Cleanup configuration for pci-hotplug.c Michael S. Tsirkin
2013-07-07 20:20 ` [Qemu-devel] [PULL v4 10/18] pci: Move pci_read_devaddr to pci-hotplug-old.c Michael S. Tsirkin
2013-07-07 20:20 ` [Qemu-devel] [PULL v4 11/18] pci: Abolish pci_find_root_bus() Michael S. Tsirkin
2013-07-07 20:20 ` [Qemu-devel] [PULL v4 12/18] pci: Use helper to find device's root bus in pci_find_domain() Michael S. Tsirkin
2013-07-07 20:20 ` [Qemu-devel] [PULL v4 13/18] pci: Replace pci_find_domain() with more general pci_root_bus_path() Michael S. Tsirkin
2013-07-07 20:20 ` [Qemu-devel] [PULL v4 14/18] pci: Add root bus argument to pci_get_bus_devfn() Michael S. Tsirkin
2013-07-07 20:20 ` [Qemu-devel] [PULL v4 15/18] pci: Add root bus parameter to pci_nic_init() Michael S. Tsirkin
2013-07-07 20:20 ` [Qemu-devel] [PULL v4 16/18] pci: Simpler implementation of primary PCI bus Michael S. Tsirkin
2013-07-07 20:20 ` [Qemu-devel] [PULL v4 17/18] pci: Remove domain from PCIHostBus Michael S. Tsirkin
2013-07-07 20:20 ` [Qemu-devel] [PULL v4 18/18] pci: Fold host_buses list into PCIHostState functionality Michael S. Tsirkin
2013-07-07 20:20 ` [Qemu-devel] [PULL v4 02/18] pci: store PCI hole ranges in guestinfo structure Michael S. Tsirkin
2013-07-10 14:11 ` [Qemu-devel] [PULL v4 00/18] pci,misc enhancements Stefano Stabellini
2013-07-10 14:21   ` Michael S. Tsirkin
2013-07-10 14:30     ` Stefano Stabellini
2013-07-10 15:27       ` Michael S. Tsirkin
2013-07-10 15:34         ` Stefano Stabellini
2013-07-11 11:53           ` Michael S. Tsirkin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130711115332.GA24980@redhat.com \
    --to=mst@redhat.com \
    --cc=Paul.Durrant@citrix.com \
    --cc=anthony@codemonkey.ws \
    --cc=david@gibson.dropbear.id.au \
    --cc=drjones@redhat.com \
    --cc=lersek@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=stefano.stabellini@eu.citrix.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).