Ask Your Question
0

Libvirt/KVM virtio (paravirtualisation)

asked 2011-08-08 10:24:17 -0500

ethuleau gravatar image

Is it possible to disable virtio driver when we use Libvirt/KVM virt driver ? In my case, I need to use old guest host with linux kernel under 2.6.25 and it cannot boot with virtio driver (cannot mount fielsystem). And I think, we will meet the same problem with windows VM.

edit retag flag offensive close merge delete

6 answers

Sort by » oldest newest most voted
0

answered 2011-08-09 16:26:38 -0500

ethuleau gravatar image

@Vish: Ok thanks.

Another question, why the virtio driver isn't enabled for the network device ? It's commented in the libvirt XML template.

edit flag offensive delete link more
0

answered 2011-08-09 22:08:35 -0500

vishvananda gravatar image

See the linked FAQ: FAQ #1734: “Why doesn't nova use virtio networking by default?”.

edit flag offensive delete link more
0

answered 2011-08-10 07:45:46 -0500

ethuleau gravatar image

Ok thanks.

edit flag offensive delete link more
0

answered 2011-08-10 07:45:49 -0500

ethuleau gravatar image

Thanks Vish Ishaya, that solved my question.

edit flag offensive delete link more
0

answered 2011-08-08 13:09:46 -0500

blamar gravatar image

Can you provide a dump of the XML from a VM which isn't working for you? The libvirt.xml.template should provide you the ability to modify which drivers get loaded in your VMs, but it's not perfect and doesn't handle all situations currently. Also, relevant errors via http://paste.openstack.org or screenshots will help for quicker debugging if you can provide more information, thanks!

edit flag offensive delete link more
0

answered 2011-08-08 16:40:27 -0500

vishvananda gravatar image

sure you can switch the libvirt.xml to attach drives via scsi or ide instead, if you don't mind the performance penalty.

You can't disable them per instance at the moment though, it is all or nothing.

On Aug 8, 2011, at 3:26 AM, Edouard Thuleau wrote:

New question #167302 on OpenStack Compute (nova): https://answers.launchpad.net/nova/+q...

Is it possible to disable virtio driver when we use Libvirt/KVM virt driver ? In my case, I need to use old guest host with linux kernel under 2.6.25 and it cannot boot with virtio driver (cannot mount fielsystem). And I think, we will meet the same problem with windows VM.


You received this question notification because you are a member of Nova Core, which is an answer contact for OpenStack Compute (nova).

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-08-08 10:24:17 -0500

Seen: 130 times

Last updated: Aug 10 '11