]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Assign correct address type to spapr-vlan and spapr-vty.
authorLi Zhang <zhlcindy@linux.vnet.ibm.com>
Tue, 29 May 2012 08:35:17 +0000 (16:35 +0800)
committerEric Blake <eblake@redhat.com>
Thu, 7 Jun 2012 20:32:27 +0000 (14:32 -0600)
commit04a319ba4e5f82e56af47e18dc055e5735ddd74d
tree8a9410044ab2db262e01043359be31bcdc5661ab
parent1c2edf0fbd4d20b3955cd5a3d8986413e94fba51
Assign correct address type to spapr-vlan and spapr-vty.

For pseries guest, spapr-vlan and spapr-vty is based
on spapr-vio address. According to model of network
device, the address type should be assigned automatically.
For serial device, serial pty device is recognized as
spapr-vty device, which is also on spapr-vio.

So this patch is to correct the address type of
spapr-vlan and spapr-vty, and build correct
command line of spapr-vty.

Signed-off-by: Li Zhang <zhlcindy@linux.vnet.ibm.com>
Reviewed-by: Michael Ellerman<michaele@au1.ibm.com>
src/qemu/qemu_command.c