[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 5/8] pci: Replace pci_find_domain() with more ge
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 5/8] pci: Replace pci_find_domain() with more general pci_root_bus_path() |
Date: |
Thu, 23 May 2013 17:00:39 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 |
Il 23/05/2013 16:57, Michael S. Tsirkin ha scritto:
> On Thu, May 23, 2013 at 04:51:17PM +0200, Paolo Bonzini wrote:
>> Il 23/05/2013 13:04, Michael S. Tsirkin ha scritto:
>>>>> Most current uses of pci_find_domain() are for error or informational
>>>>> messages, so the change in identifiers should be harmless. The exception
>>>>> is pci_get_dev_path(), whose results form part of migration streams. To
>>>>> maintain compatibility with old migration streams, the PIIX PCI host is
>>>>> altered to always supply "0000" for this path, which matches the old
>>>>> domain
>>>>> number (since the code didn't actually support domains other than 0).
>>>>>
>>>>> For the pseries (spapr) PCI bridge we use a different platform-unique
>>>>> identifier (pseries machines can routinely have dozens of PCI host
>>>>> bridges). Theoretically that breaks migration streams, but given that we
>>>>> don't yet have migration support for pseries, it doesn't matter.
>>>>>
>>>>> Any other machines that have working migration support including PCI
>>>>> devices will need to be updated to maintain migration stream
>>>>> compatibility.
>>>>>
>>>>> Signed-off-by: David Gibson <address@hidden>
>>> AFAIK PC is the only one with working migration, yes, but
>>> we have Q35 as well which can be migrated.
>>
>> Are we already supporting backwards/forwards migration with Q35?
>
> We released 1.5 with Q35 so we better ...
We released 1.5 with Q35 migration disabled by default, IIRC to enable
it you need to remove the AHCI controller with -nodefaults. I think
bending the rules is still reasonable.
Paolo
- [Qemu-devel] [PATCH 4/8] pci: Use helper o find device's root bus in pci_find_domain(), (continued)
- [Qemu-devel] [PATCH 4/8] pci: Use helper o find device's root bus in pci_find_domain(), David Gibson, 2013/05/08
- [Qemu-devel] [PATCH 3/8] pci: Abolish pci_find_root_bus(), David Gibson, 2013/05/08
- [Qemu-devel] [PATCH 7/8] pci: Remove domain from PCIHostBus, David Gibson, 2013/05/08
- [Qemu-devel] [PATCH 8/8] pci: Fold host_buses list into PCIHostState functionality, David Gibson, 2013/05/08
- [Qemu-devel] [PATCH 5/8] pci: Replace pci_find_domain() with more general pci_root_bus_path(), David Gibson, 2013/05/08
- Re: [Qemu-devel] [PATCH 5/8] pci: Replace pci_find_domain() with more general pci_root_bus_path(), Michael S. Tsirkin, 2013/05/23
- Re: [Qemu-devel] [PATCH 5/8] pci: Replace pci_find_domain() with more general pci_root_bus_path(), David Gibson, 2013/05/23
- Re: [Qemu-devel] [PATCH 5/8] pci: Replace pci_find_domain() with more general pci_root_bus_path(), Paolo Bonzini, 2013/05/23
- Re: [Qemu-devel] [PATCH 5/8] pci: Replace pci_find_domain() with more general pci_root_bus_path(), Michael S. Tsirkin, 2013/05/23
- Re: [Qemu-devel] [PATCH 5/8] pci: Replace pci_find_domain() with more general pci_root_bus_path(),
Paolo Bonzini <=
- Re: [Qemu-devel] [PATCH 5/8] pci: Replace pci_find_domain() with more general pci_root_bus_path(), Michael S. Tsirkin, 2013/05/23
- Re: [Qemu-devel] [PATCH 5/8] pci: Replace pci_find_domain() with more general pci_root_bus_path(), David Gibson, 2013/05/24
[Qemu-devel] [PATCH 1/8] pci: Cleanup configuration for pci-hotplug.c, David Gibson, 2013/05/08
Re: [Qemu-devel] [0/8] Clean up PCI code to allow for multiple root buses, Michael S. Tsirkin, 2013/05/14
Re: [Qemu-devel] [0/8] Clean up PCI code to allow for multiple root buses, Michael S. Tsirkin, 2013/05/23