You are not logged in.

#1 2011-01-01 01:43:53

cvillelk
Member
From: Lafayette, LA
Registered: 2011-01-01
Posts: 17

Question About Starting KVM Virtual Machines on Boot

I've just started using KVM to isolate my web server from my personal file server.

I created startup scripts similar to the one described here: https://wiki.archlinux.org/index.php/Kv … Networking. Basically the script just executes a startup command.

qemu-kvm -hda WebServer.img -m 512 ...

I've seen the startup script described here: https://wiki.archlinux.org/index.php/QE … es_on_boot

My question is whether such a complex startup script is necessary, or simply convenient for gracefully stopping the VMs. Could I instead run a script at boot that launches the VM using the qemu-kvm command?

Offline

#2 2011-01-02 01:54:21

otterfox
Member
Registered: 2010-08-05
Posts: 21

Re: Question About Starting KVM Virtual Machines on Boot

I believe be better way to do this is with a virtual machine manager. I'm using virsh which comes with libvirt. I didn't manage to get it working fully in archlinux last time I tired and ended up setting up ubuntu as my host machine, but you might be able to make it work or it's been fixed since I tried.


<insert hardware wankery>

Offline

Board footer

Powered by FluxBB