Matthew Rosewarne on 10 Mar 2008 13:46:39 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] modprobe kvm question


On Monday 10 March 2008, Art Alexion wrote:
> I was thinking of that, but the script would have to run as root, and I'd
> rather run the vm as regular user.

If you're using a GUI such as QtEmu, there are options for running scripts 
before starting and after stopping the VM.  You could make a script (using 
either sudo or setuid permissions) to load and unload the module.

> What is the downside of loading kvm (or any other unused module) when I
> don't need it?

All modules take up some RAM, but probably not enough to notice.  The only 
problems come from having two drivers that try to use the same hardware at 
the same time, which may happen if you run something like parallels.  But if 
you're running QEMU/KVM, you're not really likely to be running parallels 
anyway.

Attachment: signature.asc
Description: This is a digitally signed message part.

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug