Re: [Qemu-devel] [PATCH 1/8] spapr-iommu: add a bus for spapr-iommu devices

2014-04-27 Thread Paolo Bonzini
Il 14/04/2014 17:16, Andreas Färber ha scritto: >> Huh?! If you ever tried changing the order of PCI devices such as >> virtio-blk-pci on the command line (or changing between if=virtio and >> -device virtio-blk-pci) then surely it does change the order of the >> /dev/vdX the guest sees and will

Re: [Qemu-devel] [PATCH 1/8] spapr-iommu: add a bus for spapr-iommu devices

2014-04-14 Thread Alexey Kardashevskiy
On 04/15/2014 01:16 AM, Andreas Färber wrote: > Am 10.04.2014 17:18, schrieb Alexey Kardashevskiy: >> On 04/11/2014 12:52 AM, Andreas Färber wrote: >>> Am 10.04.2014 16:40, schrieb Alexey Kardashevskiy: On 04/10/2014 10:40 PM, Alexander Graf wrote: > > Juan, is a different command line

Re: [Qemu-devel] [PATCH 1/8] spapr-iommu: add a bus for spapr-iommu devices

2014-04-14 Thread Andreas Färber
Am 10.04.2014 17:18, schrieb Alexey Kardashevskiy: > On 04/11/2014 12:52 AM, Andreas Färber wrote: >> Am 10.04.2014 16:40, schrieb Alexey Kardashevskiy: >>> On 04/10/2014 10:40 PM, Alexander Graf wrote: Juan, is a different command line device order supposed to work with migration? >

Re: [Qemu-devel] [PATCH 1/8] spapr-iommu: add a bus for spapr-iommu devices

2014-04-10 Thread Alexey Kardashevskiy
On 04/11/2014 12:52 AM, Andreas Färber wrote: > Am 10.04.2014 16:40, schrieb Alexey Kardashevskiy: >> On 04/10/2014 10:40 PM, Alexander Graf wrote: >>> >>> Juan, is a different command line device order supposed to work with >>> migration? >> >> >> We discussed this on IRC with Paolo and the conclu

Re: [Qemu-devel] [PATCH 1/8] spapr-iommu: add a bus for spapr-iommu devices

2014-04-10 Thread Andreas Färber
Am 10.04.2014 16:40, schrieb Alexey Kardashevskiy: > On 04/10/2014 10:40 PM, Alexander Graf wrote: >> >> Juan, is a different command line device order supposed to work with >> migration? > > > We discussed this on IRC with Paolo and the conclusion is that yes, the > order should not matter. Huh

Re: [Qemu-devel] [PATCH 1/8] spapr-iommu: add a bus for spapr-iommu devices

2014-04-10 Thread Alexey Kardashevskiy
On 04/10/2014 10:40 PM, Alexander Graf wrote: > > On 14.03.14 05:18, Alexey Kardashevskiy wrote: >> At the moment sPAPR IOMMU table is a device which participates in >> a migration stream. Normally QEMU uses a get_dev_path() hook from >> the device's bus to compose the section name and @instance_i

Re: [Qemu-devel] [PATCH 1/8] spapr-iommu: add a bus for spapr-iommu devices

2014-04-10 Thread Alexander Graf
On 14.03.14 05:18, Alexey Kardashevskiy wrote: At the moment sPAPR IOMMU table is a device which participates in a migration stream. Normally QEMU uses a get_dev_path() hook from the device's bus to compose the section name and @instance_id which are used to match the section to the real device.

[Qemu-devel] [PATCH 1/8] spapr-iommu: add a bus for spapr-iommu devices

2014-03-13 Thread Alexey Kardashevskiy
At the moment sPAPR IOMMU table is a device which participates in a migration stream. Normally QEMU uses a get_dev_path() hook from the device's bus to compose the section name and @instance_id which are used to match the section to the real device. This works till the user changes the device order