17 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
86
views
virtio: USE VIRTIO_F_EVENT_IDX feature may loss notify
I want to check if host notifications might be lost in the following scenarios.
The hypothesis is shown in the figure below.
However, I am not sure whether the commit actions of the last two CPUs ...
0
votes
0
answers
28
views
How to dynamically change the contrast of the image displayed on QEMU?
I am currently running a GUI application via Weston, all this running on QEMU.
Everything is fine but, for reason I cannot disclose, I would like to be able to control the contrast of the image ...
0
votes
1
answer
124
views
In vhost-user, how does the feature VHOST_USER_PROTOCOL_F_HOST_NOTIFIER work?
I am researching the code for the mlx5 vdpa driver, and this part of the code registers the callback function mlx5_vdpa_virtq_kick_handler for kickfd:
/* Setup doorbell mapping. */
virtq->...
1
vote
0
answers
2k
views
QEMU vnc + opengl via virtio-vga-gl does not work, how to make it work or why does it not work?
In short, my question might be what's the configure options and/or the qemu-system-x86_64 command line options to run QEMU heedlessly with the virgl 3D feature turned on. By virgl 3D, I meant ...
1
vote
1
answer
2k
views
KVM Virtio-balloon: how to activate free page reporting feature on the device side?
I'm trying to get free page reporting running on my KVM guest (Ubuntu 22.04 server with custom kernel from upstream Linux 6.5). My host is Ubuntu 20.04 with 6.5 Linux. Free page reporting is listed as ...
2
votes
0
answers
327
views
LXC container with windows died
My LXC container with windows 11 died. I've installed official version of windows 11. Here is the log:
lxc info win11 --show-log
Name: win11
Status: STOPPED
Type: virtual-machine
Architecture: x86_64
...
2
votes
2
answers
2k
views
How do you turn on/off Linux kernel Virtio features?
Virtio documentation, like here, describes many feature bits that can be set or "negotiated" for a virtio-device. For instance, there is the VIRTIO_RING_F_EVENT_IDX feature that can be ...
0
votes
1
answer
394
views
reset virtio driver from device side
According virtio specification v1.2 there is a DEVICE_NEEDS_RESET flag in device status register is available.
If i set this flag with interrupt in virtio_pci_common_cfg.mxix_config (or 1-bit of ISR) ...
0
votes
1
answer
2k
views
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 ...
0
votes
1
answer
909
views
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.
...
2
votes
1
answer
2k
views
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 ...
1
vote
2
answers
1k
views
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 &...
1
vote
0
answers
2k
views
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 ...
0
votes
1
answer
364
views
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 ...
-1
votes
1
answer
565
views
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 ...