Questions tagged [virtio]
VirtIO is a standardized API for accessing virtual devices that a guest OS can use in a Virtual Machine. The drivers are simpler to code and give better performance than emulating real hardware devices.
33
questions
0
votes
1
answer
43
views
Which Linux kernel config options are required to get QEMU virtio to work?
I am currently trying to boot a QEMU VM with a virtio-blk hard disk and I am failing. I cannot seem to get the kernel to recognize the virtio device.
I am on a linux-6.1.97 source tree and ...
1
vote
0
answers
33
views
How can I use a specific folder on my host as the home folder for the primary user of my Debian VM guest in virt-manager
I have a Debian host running virt-manager. Once a VM is up and running, I know how to create a filesystem share to share host:/home/user with vm:/blah.
What I want to do is make it so vm:/home/person ...
0
votes
0
answers
299
views
Virtiofsd, Problems with qemu VM launch script
I am in the process of writing a script to start my qemu Windows 10 VM on an Arch Linux host. My issue is that one of the commands won't run from the script, but will run in a terminal.
Here is a test ...
1
vote
1
answer
144
views
Install base Linux on KVM virtualized hardware (dom0)
Goal: I would like to install my main Linux distro on top of KVM, equivalent to dom0 in Xen hypervisor parlance. I know that running an OS on top of a hypervisor is not uncommon and that KVM has been ...
0
votes
2
answers
808
views
KVM windows 11 guest won't boot when `bus="sata" and address type="drive"` changed to `bus="virtio" and address type="pci"?
I am using a prebuilt qcow2 windows 11 image which and when change from bus="sata" and address type="drive" to bus="virtio" and address type="pci" my KVM ...
1
vote
0
answers
787
views
Stuck at booting kernel when running in VM with VirtIO GPU
I compiled the most recent version of the kernel along with the most recent version of busybox by following this tutorial. To test whether my build was successful, I used an Ubuntu-mate LiveCD to ...
0
votes
0
answers
458
views
KVM : virtio better?
I found many articles about changing to virtio, but I don't know the reason.
Does virtio have higher performance?
1
vote
0
answers
642
views
How to get write permissions on Linux host from Windows 10 guest, using virtiofs shared folders
I am trying to share a folder from an Ubuntu 20.04.3 host with a Windows 10 build 19042 (20H2) guest, using QEMU 5.2 / libvirt 7.0.0 on the host and virtio-win 0.1.208 (driver 100.85.104.20800 and ...
0
votes
1
answer
992
views
Listing VirtIO devices from a shell in a linux guest
As the title already summarizes, is there a way (a tool or a simple command) to list available (thus recognized by a linux guest) VirtIO devices ?
0
votes
1
answer
291
views
Gentoo kvm guest integrations (vmchannel)
I'm trying to get a working VMchannel to my gentoo kvm guest.
I enabled the recommended kernel options for gentoo guests.
As the channel appears to be a character device, I also enabled Virtio console ...
1
vote
1
answer
445
views
QEMU virtio-scsi: Cannot see the number of queues after booting VM with virtio-scsi command
QEMU newbie here. I am trying to boot a VM using QEMU, for increased performance I am trying to use a virtio-scsi mounted drive. I am following the steps given here. However when I boot my VM and I ...
1
vote
0
answers
2k
views
virtio filesystem mounted as readonly -- why?
On the guest I mounted a directory of the host as follows:
# mount -t 9p -o trans=virtio /sharepoint /share
Indeed, the filesystem seems to be read/write:
# mount
...
/sharepoint on /share type 9p (...
0
votes
1
answer
502
views
Error using virtio-fs and qemu: "Failed to read msg header. Read 0 instead of 12. Original request 1."
I'm trying to use virtio-fs to mount a folder on the host in the guest, but running into an issue.
On the host I have qemu 1:5.0-5ubuntu6.
virtiofsd command and output:
/usr/lib/qemu/virtiofsd -f -d -...
2
votes
0
answers
1k
views
Shared folder between QEMU Windows guest and Linux host with virtio-fs
In QEMU 5.0 and kernel 5.4. Virtio-FS(D) was introduced for better access to shared folder on Linux host.
It seems guests access the shared folder using something like FUSE technology.
I found a ...
4
votes
0
answers
1k
views
QEMU kernel for raspberry pi 3 with networking and virtio support
I used the QEMU(qemu-system-aarch64 -M raspi3) for emulating the Raspberry pi3 with the kernel from the working image.
Everything was working but there was no networking.
qemu-system-aarch64 \
-...