On 04/13/2011 10:07 PM, Pekka Enberg wrote: > On Wed, 2011-04-13 at 16:38 +0300, Sasha Levin wrote: >> On Wed, Apr 13, 2011 at 4:28 PM, Asias He <asias.hejun@xxxxxxxxx> wrote: >>> On 04/13/2011 08:28 PM, Asias He wrote: >>>> On 04/13/2011 08:13 PM, Sasha Levin wrote: >>>>> Add --host-ip-addr parameter to allow changing the host-side IP address. >>>> >>>> >>>> I'd personally prefer something like this: >>>> >>>> --network=model=virtio,hostip=x.x.x.x/mask,guestmac=yy:yy:yy:yy >>>> >>>> Once we can set up ip address for guest, we can use: >>>> >>>> --network=model=virtio,hostip=x.x.x.x/mask,guestmac=yy:yy:yy:yy,guestip=z.z.z.z/mask,guestgw=v.v.v.v >>>> >>> >>> >>> Alternatively, we can use an option group like this: >>> >>> Network options: >>> -n --network <virtio> >>> -h --hostip <x.x.x.x/n> >>> -y --guestip <x.x.x.x/n> >>> -z --guestmac <xx:xx:xx:xx:xx:xx> >>> >> >> I agree. We can create a networking group once we start expanding the options. > > Asias, is the patch OK to merge? The first patch is ok. Sasha needs modification for the second patch. -- Best Regards, Asias He -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html