Nobuhiro Itou wrote:
Hi
When I install the Windows HVM domain, it can't continue to install
after first restart.
It needs a virtual CD-ROM device after reboot too.
And the rebooting frequency of Windows is more once than that of RHEL.
The attached patch adds to solve this problem.
Signed-off-by: Nobuhiro Itou <fj0873gn@xxxxxxxxxxxxxxxxx>
Thanks,
Nobuhiro Itou.
We don't really want to put OS-specific stuff into the virt-install code
if we can help it; we made an exception for the config flag setting
stuff because we're just abstracting behavior (setting acpi= and apic=)
that is already available.
However I don't see any reason why a patch that would allow a virtinst
argument like "--keep-cdrom" and then put something like "<disk
type="block" device="cdrom">... etc" in the domain's permanent xml
wouldn't work. This would mean that the domain would have access to the
cdrom drive every time it reboots. Of course, it also means we'll need
to provide some way to disconnect the domain from that drive once the
install process is finished, but we'll get to that later.
Let me know if that works for you...
--Hugh
--
Red Hat Virtualization Group http://redhat.com/virtualization
Hugh Brock | virt-manager http://virt-manager.org
hbrock@xxxxxxxxxx | virtualization library http://libvirt.org