Re: [libvirt] [PATCH 1/1] Assign spapr-vio address value to VIO devices without hardcode

2012-05-17 Thread Li Zhang
On 05/18/2012 06:41 AM, Eric Blake wrote: On 05/17/2012 12:16 AM, Li Zhang wrote: Hardcode address will cause conflicts when there are a lot of VIO devices. This patch is to remove the harcode of the address, and assign a variable to it, which is cnt * 0x1000UL. And assign spapr-vio address to

Re: [libvirt] [PATCH 1/1] Assign spapr-vio address value to VIO devices without hardcode

2012-05-17 Thread Eric Blake
On 05/17/2012 12:16 AM, Li Zhang wrote: > Hardcode address will cause conflicts when there are a lot of VIO > devices. > > This patch is to remove the harcode of the address, and assign > a variable to it, which is cnt * 0x1000UL. And assign spapr-vio > address to VIO devices, such as spapr-vlan a

[libvirt] [PATCH 1/1] Assign spapr-vio address value to VIO devices without hardcode

2012-05-16 Thread Li Zhang
Hardcode address will cause conflicts when there are a lot of VIO devices. This patch is to remove the harcode of the address, and assign a variable to it, which is cnt * 0x1000UL. And assign spapr-vio address to VIO devices, such as spapr-vlan and spapr-vty. Several test cases are modified. Sign