Re: [Qemu-devel] [PATCH v6 4/4] Add support for net bridge

2011-12-22 Thread Anthony Liguori
On 12/20/2011 11:13 AM, Corey Bryant wrote: On 12/19/2011 06:15 PM, Anthony Liguori wrote: On 12/19/2011 04:55 PM, Corey Bryant wrote: diff --git a/net.c b/net.c index f7bebf8..9296224 100644 --- a/net.c +++ b/net.c @@ -952,6 +952,14 @@ static const struct { .type = QEMU_OPT_STRING, .help

Re: [Qemu-devel] [PATCH v6 4/4] Add support for net bridge

2011-12-20 Thread Corey Bryant
On 12/19/2011 06:15 PM, Anthony Liguori wrote: On 12/19/2011 04:55 PM, Corey Bryant wrote: diff --git a/net.c b/net.c index f7bebf8..9296224 100644 --- a/net.c +++ b/net.c @@ -952,6 +952,14 @@ static const struct { .type = QEMU_OPT_STRING, .help = "script to shut down the interface", }, { +

Re: [Qemu-devel] [PATCH v6 4/4] Add support for net bridge

2011-12-20 Thread Hui Kai Ran
On 12/20/2011 06:02 PM, Hui Kai Ran wrote: On 12/19/2011 09:11 PM, Corey Bryant wrote: The most common use of -net tap is to connect a tap device to a bridge. This requires the use of a script and running qemu as root in order to allocate a tap device to pass to the script. This model is gre

Re: [Qemu-devel] [PATCH v6 4/4] Add support for net bridge

2011-12-20 Thread Hui Kai Ran
On 12/19/2011 09:11 PM, Corey Bryant wrote: The most common use of -net tap is to connect a tap device to a bridge. This requires the use of a script and running qemu as root in order to allocate a tap device to pass to the script. This model is great for portability and flexibility but it's in

Re: [Qemu-devel] [PATCH v6 4/4] Add support for net bridge

2011-12-19 Thread Anthony Liguori
On 12/19/2011 04:55 PM, Corey Bryant wrote: diff --git a/net.c b/net.c index f7bebf8..9296224 100644 --- a/net.c +++ b/net.c @@ -952,6 +952,14 @@ static const struct { .type = QEMU_OPT_STRING, .help = "script to shut down the interface", }, { + .name = "br", + .type = QEMU_OPT_STRING, + .help

Re: [Qemu-devel] [PATCH v6 4/4] Add support for net bridge

2011-12-19 Thread Corey Bryant
On 12/19/2011 02:36 PM, Anthony Liguori wrote: On 12/19/2011 07:11 AM, Corey Bryant wrote: The most common use of -net tap is to connect a tap device to a bridge. This requires the use of a script and running qemu as root in order to allocate a tap device to pass to the script. This model is

Re: [Qemu-devel] [PATCH v6 4/4] Add support for net bridge

2011-12-19 Thread Anthony Liguori
On 12/19/2011 07:11 AM, Corey Bryant wrote: The most common use of -net tap is to connect a tap device to a bridge. This requires the use of a script and running qemu as root in order to allocate a tap device to pass to the script. This model is great for portability and flexibility but it's in

[Qemu-devel] [PATCH v6 4/4] Add support for net bridge

2011-12-19 Thread Corey Bryant
The most common use of -net tap is to connect a tap device to a bridge. This requires the use of a script and running qemu as root in order to allocate a tap device to pass to the script. This model is great for portability and flexibility but it's incredibly difficult to eliminate the need to ru