[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-users] Xen and Fedora 7
Mark, Thanks for the response. Here is what I did: Captured the parameters from the running managed VM Created a hvm file with the parameters pointing to the lvm that contains Vista Started the VM using xm create with the new .hvm file Everything works great now. What does " PV driver pack" mean? I did not think Vista would run in a PVM. Dave -----Original Message----- From: M.A. Williamson [mailto:maw48@xxxxxxxxxxxxxxxx] On Behalf Of Mark Williamson Sent: Sunday, April 13, 2008 12:27 PM To: xen-users@xxxxxxxxxxxxxxxxxxx Cc: David Morsberger Subject: 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |