[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Connection of a qemu guest to the 'net.
From: |
Jeremy Payne |
Subject: |
Re: Connection of a qemu guest to the 'net. |
Date: |
Tue, 16 Mar 2021 11:00:24 -0500 |
sriov is another option.. of course supporting host NICs are required.
On Tue, Mar 16, 2021 at 5:36 AM Peter Maydell <peter.maydell@linaro.org> wrote:
>
> On Tue, 16 Mar 2021 at 10:19, Berto Furth <bertofurth@sent.com> wrote:
> > If you just want QEMU to do simple NAT between the guest and the "real"
> > network then just use "SLIRP" as per
> >
> > https://wiki.qemu.org/Documentation/Networking#User_Networking_.28SLIRP.29
> >
> > (I haven't tested it...I always use tap and bridging)
>
> user-mode network works pretty well, but as the page notes it
> does have disadvantages (worse performance, you can't connect to
> the VM from outside without setting up specific port-forwarding,
> etc). I use it a lot because it's handy for "start a one-off
> QEMU instance for testing something" and you don't need to go
> to the effort of setting up a bridge. For a "serious production"
> VM you usually want to use the tap networking backend.
>
> thanks
> -- PMM
>