LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   [SOLVED] How do I use virtio drivers in Debian in a KVM virtual machine? (http://www.linuxquestions.org/questions/debian-26/%5Bsolved%5D-how-do-i-use-virtio-drivers-in-debian-in-a-kvm-virtual-machine-4175442186/)

KenJackson 12-19-2012 02:08 PM

[SOLVED] How do I use virtio drivers in Debian in a KVM virtual machine?
 
It amazes me how often I find the answer to a problem when I'm in the process of thinking through how I can most clearly state a question about it. Such was the case today. I'm posting it anyway since it might help someone else. Here is the question I had prepared to post:

----------------------------------------------------
I installed Debian Linux in a virtual machine under KVM on my Fedora host computer. Now I would like to install the virtio drivers.

But the virtio-modules package says,
Quote:

Warning: This package is intended for the use in building debian-installer images only. Do not install it on a normal Debian system.
Oh? So how do I get virtio drivers in my normal Debian system running in a VM?
----------------------------------------------------

The answer came as I searched for a link that referenced virtio drivers. The link I found says the drivers are (optionally) compiled into the Linux kernel and to just add if=virtio at the appropriate place on the command line.

It works! And since Debian uses UUIDs instead of device names, I didn't even have to modify the any grub files.


All times are GMT -5. The time now is 08:19 PM.