:: [DNG] qemu networking: Was Re: Jus…
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Svante Signell
日付:  
To: 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.