[Openstack] why we need virtio driver for windows instance

Dimitri Maziuk dmaziuk at bmrb.wisc.edu
Tue Dec 31 17:39:31 UTC 2013


On 12/30/2013 9:06 PM, Peter Cheung wrote:
> Hi Dimitri
>      Install virtio driver is easy, but if I have a vm from virtual box, 
> and it doesn't have virtio driver, i got no way to install virtio 
> because virtual box is not using virtio disk and nic. So the result is : 
> I can't put that virtual box VM into openstack.

Ah. Then I suggest you repost your question with a subject like "how to
migrate windows vm from vbox". Windows version may matter, too.

I mounted the iso with fedora virtio drivers as cd-rom and simply copied
it all to the "local disk". Then I migrated the vm to openstack bootable
volume and booted it with "--block-device-mapping hda=vol..." -- "hda"
tells the driver to emulate IDE disk instead of virtio. Then I could
boot the instance and point the new hardware wizard at the virtio drivers.

That was xp vm, centos 6 hosts with rdo install of havana.

Also, once you created the instance and powered it off, I believe you
should be able to find its xml config file under /etc/libvirt/qemu
(centos location), edit the driver sections, and fire up the instance.
You could try that, too.

Dima





More information about the Openstack mailing list