Re: [Qemu-devel] [PATCH 09/12] spapr-vio: move special case handling for reg=0 to vio

2013-06-19 Thread Anthony Liguori
Alexander Graf writes: > On 19.06.2013, at 23:49, Anthony Liguori wrote: > >> Alexander Graf writes: >> >>> On 19.06.2013, at 22:40, Anthony Liguori wrote: >>> The creatively named reg field is a hypervisor assigned global identifier for a virtual device. Despite the fact that no de

Re: [Qemu-devel] [PATCH 09/12] spapr-vio: move special case handling for reg=0 to vio

2013-06-19 Thread Benjamin Herrenschmidt
On Wed, 2013-06-19 at 23:28 +0200, Alexander Graf wrote: > On 19.06.2013, at 22:40, Anthony Liguori wrote: > > > The creatively named reg field is a hypervisor assigned global > > identifier for a virtual device. Despite the fact that no device > > is assigned a reg of 0, guests still use it to r

Re: [Qemu-devel] [PATCH 09/12] spapr-vio: move special case handling for reg=0 to vio

2013-06-19 Thread Alexander Graf
On 19.06.2013, at 23:49, Anthony Liguori wrote: > Alexander Graf writes: > >> On 19.06.2013, at 22:40, Anthony Liguori wrote: >> >>> The creatively named reg field is a hypervisor assigned global >>> identifier for a virtual device. Despite the fact that no device >>> is assigned a reg of 0,

Re: [Qemu-devel] [PATCH 09/12] spapr-vio: move special case handling for reg=0 to vio

2013-06-19 Thread Anthony Liguori
Alexander Graf writes: > On 19.06.2013, at 22:40, Anthony Liguori wrote: > >> The creatively named reg field is a hypervisor assigned global >> identifier for a virtual device. Despite the fact that no device >> is assigned a reg of 0, guests still use it to refer to early >> console. >> >> Ins

Re: [Qemu-devel] [PATCH 09/12] spapr-vio: move special case handling for reg=0 to vio

2013-06-19 Thread Alexander Graf
On 19.06.2013, at 22:40, Anthony Liguori wrote: > The creatively named reg field is a hypervisor assigned global > identifier for a virtual device. Despite the fact that no device > is assigned a reg of 0, guests still use it to refer to early > console. > > Instead of handling this in the VTY

[Qemu-devel] [PATCH 09/12] spapr-vio: move special case handling for reg=0 to vio

2013-06-19 Thread Anthony Liguori
The creatively named reg field is a hypervisor assigned global identifier for a virtual device. Despite the fact that no device is assigned a reg of 0, guests still use it to refer to early console. Instead of handling this in the VTY device, handle this in the VIO bus since this is ultimately ab