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.

Filter by
Sorted by
Tagged with
0
votes
1answer
27 views

How do I check if my VM is using vhost-net driver for networking

In KVM, NIC model can be set to virtio (latest) or the older e1000 (not recommended, emulated). In virtio, one has the option of using vhost-net driver or qemu. vhost-net and qemu differs in how ...
3
votes
1answer
220 views

Does VirtIO storage support discard (fstrim)?

$ uname -r 5.0.9-301.fc30.x86_64 $ findmnt / TARGET SOURCE FSTYPE OPTIONS / /dev/vda3 ext4 rw,relatime,seclabel $ sudo fstrim -v / fstrim: /: the discard operation is not supported Same VM, ...
1
vote
1answer
72 views

`cat` behaves strangely on a mounted virtio directory

When I'm in a mounted directory (9p) on my gentoo-guest and do the following: TMPDIR='./foo' # The directory './foo' exists and the name 'TMPDIR' is important cat <<EOF hello world EOF I get ...
0
votes
0answers
44 views

Configuring virtio vsock for android (aosp)

I want to use virtio vsock for communication between host machine and vm. My host is running ubuntu. I understand by default virtio vsock module is enabled for ubuntu so I don't need to do any ...
0
votes
1answer
314 views

How can I install a Windows 10 KVM VM on a ZVOL: pick the correct virtio drivers

I was trying to install windows 10 on an NTFS formatted zvol, but I kept getting BSODs: user@ubuntu:~$ virt-install \ > --name myWINVM1 \ > --ram 4096 \ > --disk path=/guest_images2/myWINVM1....
1
vote
0answers
155 views

Accessing disk features in a QEMU/KVM VM

I recently setup a QEMU virtual machine with KVM running on Debian. The guest OS is FreeNAS (based on FreeBSD). I have given the guest access to a physical hard-disk on the host (not just a partition)....
1
vote
1answer
209 views

Why Oracle Linux dont' recognize virtio?

On KVM-libvirt I have setup a ORacle Linux vm(oracle linux 7) I run it with SATA,but I want to use virtio I put the virtio disk and network..but on boot don't load the driver,or better,the driver is ...
0
votes
1answer
278 views

Identify devices like virtio2 and virtio3 in QEmu

I'm running a virtual machine in QEmu. The following command in the guest VM cat /proc/interrupts | egrep 'virtio.*(input|output)' gives me the following output: 26: 0 3376 0 ...
1
vote
1answer
2k views

How can I manually trigger the virtio balloon driver on a guest?

I would like a certain Linux guest running in QEMU to release memory before the host is under memory pressure. How can I manually trigger the virtio balloon driver on a guest so that it releases as ...
2
votes
1answer
793 views

No network connectivity with virtio drivers under WinXP guest (libvirt/Qemu on Linux host)

I've been using libvirt for a couple of years now and it's worked a treat so far. Just until recently (probably after a few system updates on my Manjaro Linux host): none of my Windows (XP) guests ...
1
vote
2answers
598 views

How to merge separate logical volumes in to one physical disk?

i can see my server disk like this Disk /dev/vda: 50.0 GB Disk /dev/vdb: 50.0 GB I need to combine these two virtual block devices into single physical disk as 100GB. I have installed CentOS 7. ...
8
votes
0answers
6k views

performance comparison of e1000 and virtio-pci drivers

I made a following setup to compare a performance of virtio-pci and e1000 drivers: I expected to see much higher throughput in case of virtio-pci compared to e1000, but they performed identically. ...
3
votes
0answers
3k views

Qemu disk virtio performance on Windows 10 guest

Is this speed normal? Host: 64-bit archlinux Guest: WIndows 10 64-bit Education Edition with redhat virtio stable driver, raw disk format, 32GB size, virtio enabled, kvm enabled. start command: ...
3
votes
1answer
3k views

QEMU VM using virtio drivers without kernel support / module on host?

I was trying to verify that my Win 8.1 VM running in QEMU is getting the full VirtIO benefit for the disk (raw image format) and for the network card. I read this related post and accessed the QEMU ...
1
vote
1answer
1k views

Use of virtio on QEMU without KVM

I want to write a simple driver for use inside a QEMU virtual machine, which will be communicating with the host through a respective backend special virtual device. The said driver and backend ...
2
votes
0answers
111 views

virtio network interface stops after wake

I'm running vagrant with the Virtualbox provider on my laptop and use the virtio network interface to mitigate super slow DNS lookups with the standard network device used by Virtualbox. Now putting ...
1
vote
1answer
493 views

How to handle (with LVM or DM (device mapper)) when a drive has gone away and come back as a new block device

(This correct answer is to one that bears little surface resemblance to this one. Asking the question and answering it myself with reference to that one.) Consider a virtual host environment in which ...
0
votes
1answer
163 views

virtio-kmod in /usr/ports is not compatible; what can I do?

I tried to install virtio-kmod in a FreeBSD guest. make in /usr/ports/emulators/virtio-kmod gives virtio-kmod--0.250249 not supported ${OSREL} (10.1). The ports-tree is up to date. Is that a bug or ...