|
From: | Jonas Konrad |
Subject: | Re: Running qemu guest in background |
Date: | Sat, 16 May 2020 12:29:49 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 |
Hi,Have you considered using libvirt? It is specifically designed to run VMs as a daemon.
If you want to stick with qemu only, something like a systemd service should do.
- Jonas On 5/16/20 12:18 PM, Mahmood Naderan wrote:
HiI want to start a qemu vm in the background. The guest is windows and When I use |-nographic| or |-curses|, it seems that the terminal which I run the qemu command won't get free.I have installed anydesk on the guest and there is no need to see the qemu guest window at the moment. I also tried -daemonize where I can see the return to the terminal prompt, but the guest window is shown and when I close it, the guest vm is killed.What should I do then? Regards, Mahmood
[Prev in Thread] | Current Thread | [Next in Thread] |