<div>Hello,</div>
<div> </div>
<div>I have latest stable and updated F7 and I installed another linux as virtual host using virt-manager and all is working fine.</div>
<div>The only problem I have is this - when I restart my virtual system (from inside) it is not started automatically so I have to start it again manually using virt-manager.</div>
<div>The same problem arises when my F7 host is rebooted.</div>
<div> </div>
<div>As a workaround for this problem I would like to place a short script into cron which will check if a process with my virtual linux is running and if not, it will start it.</div>
<div>(As the unique identifier for my process I will use MAC address parameter for qemu-kvm.)</div>
<div> </div>
<div>So I found how the virt-manager is starting qemu-kvm:</div>
<div>/usr/bin/qemu-kvm -M pc -m 384 -smp 1 -monitor pty -boot c -hda /home/myhome/KVM/linux_image_i386 -net nic,macaddr=00:11:22:33:44:55,vlan=0 -net tap,fd=10,script=,vlan=0 -usb -vnc <a href="http://127.0.0.1:0">127.0.0.1:0
</a></div>
<div> </div>
<div>And I tried to do the similar thing from command line (but without graphics):</div>
<div>/usr/bin/qemu-kvm -M pc -m 384 -smp 1 -monitor pty -boot c -hda /home/myhome/KVM/linux_image_i386 -net nic,macaddr=00:11:22:33:44:55,vlan=0 -net tap,fd=10,script=,vlan=0 -usb -nographics</div>
<div> </div>
<div>The problem is that despite the virtual host starts, the networking is never working, howver when I start it from virt-manager it is working fine.</div>
<div>I also tried arguments -no-rtc and -daemonize but with no luck.</div>
<div> </div>
<div>My goal is to have IP connectivity to my virtual host - I do not need graphic vnc window for my virtual host on F7.</div>
<div> </div>
<div>Can you please advise me what additional steps I have to do to, so when I start it from comand line, the result will be the same as using virt-manager?</div>
<div>(I also assume that once it is running from command line properly, virt-manager will not "see" it - but this would be not a problem for me.)</div>
<div> </div>
<div>Thank you very much,</div>
<div> </div>
<div>Jan</div>