qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Marcel Apfelbaum <marcel@redhat.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: rth@twiddle.ne, ehabkost@redhat.com, mst@redhat.com,
	qemu-devel@nongnu.org, imammedo@redhat.com, pbonzini@redhat.com
Subject: Re: [Qemu-devel] [PATCH 1/4] hw/pxb: remove the built-in pci bridge
Date: Fri, 13 Nov 2015 11:22:16 +0200	[thread overview]
Message-ID: <5645ABC8.9040902@redhat.com> (raw)
In-Reply-To: <1447406002.1400.94.camel@redhat.com>

On 11/13/2015 11:13 AM, Gerd Hoffmann wrote:
> On Do, 2015-11-12 at 17:11 +0200, Marcel Apfelbaum wrote:
>> As part of porting the pxb device to Q35 remove the internal pci-2-pci
>> bridge. The only way to hot-pug devices on the extra PCI root buses
>> is by adding a pci-2-pci to the pxb before the firmware assign the
>> IO/mem resources.
>
> I think this breaks live migration and is guest-visible too.  So not
> going to fly without backward-compatibility mode for old machine
> types ...
>
> Possibly it is easier to just have have pci and pcie pxb devices look
> differenty rather than adding all the compatibility fluff.
>

Hi Gerd,

Thank you for the review.

Yes, you are right about migration, but I prefer to add a compat-prop rather
than different devices because I do want to remove the internal pci-bridge
even for pxb PCI.
The reason is the feedback I got from libvirt that "composed" device are not recommended.

In conclusion, since I am going to get rid of the pci-bridge, the devices will be exactly
the same (except for the internal bus).

I want to use the same concept as virtio-pci devices that get to be "express" on PCIe,
but remain PCI on PCI buses.

Thanks,
Marcel


> cheers,
>    Gerd
>
>

  reply	other threads:[~2015-11-13  9:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-12 15:11 [Qemu-devel] [PATCH 0/4] hw/pcie: Multi-root support for Q35 Marcel Apfelbaum
2015-11-12 15:11 ` [Qemu-devel] [PATCH 1/4] hw/pxb: remove the built-in pci bridge Marcel Apfelbaum
2015-11-13  9:13   ` Gerd Hoffmann
2015-11-13  9:22     ` Marcel Apfelbaum [this message]
2015-11-12 15:11 ` [Qemu-devel] [PATCH 2/4] hw/acpi: merge pxb adjacent memory/IO ranges Marcel Apfelbaum
2015-11-12 15:11 ` [Qemu-devel] [PATCH 3/4] hw/pc: query both q35 and i440fx bus Marcel Apfelbaum
2015-11-12 15:11 ` [Qemu-devel] [PATCH 4/4] hw/pxb: add support for PCIe Marcel Apfelbaum

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=5645ABC8.9040902@redhat.com \
    --to=marcel@redhat.com \
    --cc=ehabkost@redhat.com \
    --cc=imammedo@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@twiddle.ne \
    /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).