Questions tagged [virtio]

13 questions
1
vote
1 answer

How I combine a bash hookscript with a Perl hookscript for use with Proxmox?

I am trying to use Promox VE has the hypervisor for running VMs. In one of my VMs, I have a hookscript that is written for the bash shell: #!/bin/bash if [ $2 == "pre-start" ] then echo "gpu-hookscript: Resetting GPU for Virtual Machine $1" echo 1…
1
vote
1 answer

Memory map address space on host from KVM/QEMU guest using virtio-mmio

I am running a direct kernel + Busybox based initrd guest using KVM/QEMU on an aarch64 host. The host platform is a ZynqMP SoC. My goal is to memory map the PL of the ZynqMP SoC from the guest VM running on the host using virtio-mmio. The PL base…
mitch
  • 21
  • 1
0
votes
0 answers

Why is the Virtqueue transmission of Virtio/Vhost so complex?

I'm a developer of dpdk, and I'm develping something about virtio/vhost in dpdk. I got a question about the virtqueue. IMHO, Virtqueue is purely a producer-consumer model, which could be solved with just two pointers. Why is it implemented in such a…
kellerman
  • 1
  • 1
0
votes
0 answers

Enable RSS for virtio application ( dpdk version 21.11)

I'm using a Nutanix virtual machine to run a DPDK(Version 21.11)-based application. Application is failing during rte_eth_dev_configure . For our application, RSS support is required. eth_config.rxmode.mq_mode = ETH_MQ_RX_RSS; static uint8_t…
0
votes
0 answers

How to connect via virtio GUI running on host with GPIO in a QEMU-emulated virtual machine?

Some time ago, I asked a similar question, "How to connect GPIO in QEMU-emulated machine to an object in host?" and after some work, I have found a not perfect but satisfactory solution. However, now we have virtio that supports GPIO, and it would…
wzab
  • 788
  • 7
  • 24
0
votes
1 answer

virt-manager gnome guest, auto-resize after login does not work if I previous set manual display resolution

This is a Ubuntu 22.04 guest, gnonme, wayland session although the problem exists for the xorg session too. To reproduce: 1 start with a working gnome session, that is, auto-resizing of guest is working 2 in the guest, manually set the display…
Tim Richardson
  • 6,608
  • 6
  • 44
  • 71
0
votes
0 answers

qemu simulate x86_64 can't use "virtio-gpu-gl"

my qemu version is 7.1.0. my qemu configure: --enable-sdl --enable-opengl --enable-virglrenderer When I use qemu-system-x86_64 -machine q35, it can run with a device virtio-gpu. But, when I use the device virtio-gpu-gl, qemu tells me ERROR:…
0
votes
1 answer

How to apply multi VFs with virtio-net vDPA on host?

Recently, I was developing vDPA drivers for our NIC. When testing virtio-net vDPA with multi VFs, I found that kernel vDPA framework allocated same DMA addresses for multi VFs, then different VF operate the same DMA address, such as updating the…
kyle
  • 1
0
votes
0 answers

Why Android x86 or bliss os does not load virtio gpu or amdgpu driver for RX 6500 XT passthrough?

I am new in these waters. After installing aarch64 arch on several arm boards. Decided to try android x86 and then android arm. However in documentations it says it supports nvidia through nouvaeu driver I have rtx 3060 and NV170 is not supported in…
Gediz GÜRSU
  • 555
  • 4
  • 12
0
votes
0 answers

BPF program auto detaching itself

I am trying to load a simple bpf program. The program gets loaded correctly but after a while (within 4 minutes) it gets automatically detached from the interface. Any idea on how I can debug further? I am using cilium with virtio_net network…
Rishab
  • 73
  • 4
0
votes
1 answer

how can I config virtio-net-pci to emulate a big endian linux for qemu-system-aarch64 running at a little endian

I emulate big endian linux by qemu-system-aarch64 with '-device virtio-net-pci' running at a little endian, and get the following error when i run dpdk l3fwd example. #./examples/dpdk-l3fwd --log-level=pmd,8 -l 0 -- -p 0xf -L --config="(0,0,0)"…
sunbory
  • 1
  • 1
-1
votes
1 answer

How can we create a virtio platform device?

I am writing a virtio driver for a device that is seen in the original driver as a platform device, that is the parent of a character device in the device tree. In the tutorials that I followed, The virtio drivers are always done for "regular"…
-2
votes
1 answer

Who will configure virtio,mmio device register in qemu?

I want to enable virtio_net on qemu, virtio_net driver should return an error if the device id is zero (read from https://docs.oasis-open.org/virtio/virtio/v1.1/virtio-v1.1.html). In qemu, 0x0A000000 address is used for virtio,mmio region. when I…