|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Xen and Fedora 7
> I recently installed Fedora 7, Xen with Windows Vista in a VM using the
> Virtual Machine Manager tool. Everything has worked great but now I can not
> get the VM to start during Linux boot. I made sure xend and xendomain are
> started using chkconfig.
>
>
>
> Everything I have read talked about placing a .hvm file in the
> /etc/xen/auto directory. The Virtual Machine Manager tool did not create a
> .hvm file to place in the directory.
When a configuration file is created it's not necessarily called
something.hvm. The extension isn't necessary.
It may be that F7's virt-manager doesn't create config files at all and
instead uses Xend's "managed domains"... If this is the case then you'd need
a different approach to make a domain autostart at boot.
> How do I start my Vista VM when the machine boots?
I can't actually find a way to change a managed VM to autostart :-( The only
way I can see is to use virsh to dump the XML config for a domain, delete the
old managed config (but not the virtual disks, etc) add an option
for "auto_power_on", set to "true", then use xm new to create a new managed
virtual machine based on the modified config. Or alternatively, you could
try finding where Xend stores managed domain configs and editting them
(whilst Xend is not running).
To be perfectly honest, all that is a bit unpleasant... I think the support
in this area is not complete, so unless virt-manager or virsh provides a
friendlier way of changing settings you may not have a nice alternative.
It's equally possible that I just don't understand managed domains well
enough and am missing something obvious...
Perhaps the simplest way would be to create your own startup script to run
some xm create commands on boot, then add it to something like /etc/rc.local
to be run at boot?
> Also, are there any hooks to gracefully shutdown Vista when the VM is
> shutdown?
Not by default, that I know of. If you were running a PV driver pack in the
guest this might be possible.
Cheers,
Mark
--
Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/)
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-users] Xen and Fedora 7,
Mark Williamson <=
|
|
|
|
|