:: [DNG] qemu networking: Was Re: Jus…
Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Svante Signell
Ημερομηνία:  
Προς: dng
Παλιά Θέματα: Re: [DNG] Just out of curiosity, I wondered,
Αντικείμενο: [DNG] qemu networking: Was Re: Just out of curiosity, I wondered,
On Wed, 2017-08-09 at 22:45 +1000, Ralph Ronnquist wrote:
> I prefer using a VDE setup, since that lets me run qemu as user (i.e. 
> not root)


With
-net nic -net user,hostfwd=tcp::5556-:22
you don't have to run anything as root as long as the forwarded port is higher
than 1024. Additionally for a second VM you can use a different port e.g.
hostfwd=tcp::5557-:22 etc. On one of my hosts I run 4 VMs, on another 5. All
works fine, just make sure you have enough RAM for all guests.