Skip to content

PXVIRT UI Features

PXVIRT mainly adds the following features:

Virtual Machine Architecture Selection

Located at create virtual machine

Located at the virtual tab

This function allows you to adjust the architecture of the virtual machine, such as selecting aarch64 arch on an x86_64 host.

Attention!!!

Currently KVM can only accelerate the current architecture. If you run an aarch64 virtual machine on x86_64, it will use TCG technology, making the virtual machine very slow.

After adjusting the architecture, the VM configuration also needs to change, such as the CPU model and motherboard model. Otherwise, it won't be able to start up.

CPU Model Selection for Virtual Machines

For CPUs, we have added support for most CPU types.

The following is a description of CPU models:

VendorArchitecture
RISCVriscv64
POWERpower
LOONGARCHLoongARCH
ARMaarch64
Intel & AMDx86_64

Some special types are from QEMU. Let's explain the QEMU types:

In QEMU, only "max" and "host" are universal types. This means that all architectures can generally choose the "max" CPU model. If your host architecture and virtual machine architecture are the same, choosing either "host" or "max" will theoretically enable KVM acceleration.

Now let's discuss which CPUs support KVM acceleration. You need to configure the CPU correctly according to your architecture to achieve the best performance:

Host ArchVM ArchKVM ModelNote
x86_64x86_64Qemu, Intel, AMD, host, maxIf you're using an AMD host, Intel won't boot, and vice versa
aarch64aarch64host, max, Kunpeng-920Kunpeng920 can only be used on Kunpeng hosts; otherwise, an error will be reported
loongarch64loongarch64la464, maxLoongson currently implements la464 simulation, which doesn't support La664, so it doesn't support host startup

VM BIOS

The virtual machine must use the correct BIOS to boot normally. Of course, this is not absolute. If you're curious about this feature, you can explore it further. We'll mention it in the CLI section.

VM ArchVM BIOS
x86_64all
arm64ovmf
loongarch64ovmf
ppc64seabios
s390xseabios

VM Machine Model

The virtual machine must have the correct model to boot normally.

VM ArchVM Machine Model
x86_64q35, i440fx
arm64virt
loongarch64virt
riscv64virt
ppc64pseries
s390xs390-ccw-virtio

NVMe Emulation

For virtual disks, we have added NVMe simulation, allowing users to directly add NVMe disks.

Tips

Curious about NVMe performance? We've conducted tests and found that under high concurrency, NVMe performs slightly better than SCSI. However, there's no noticeable performance difference in daily use. For Windows, NVMe devices don't require SCSI driver installation.

Note!

NVME does not currently support live migration!

GPU Models

We have added two additional GPU models:

  1. ramfb

This is the ramfb model, which can directly output the framebuffer of the virtual machine. It's very useful for installing Windows on arm64. However, we don't recommend it in other cases unless you have a specific purpose.

  1. Mdev Display (mdev)

This is a display model specifically designed for Mdev-type vGPUs, which doesn't exist in standard QEMU. It supports a management model we created to enable users to better utilize vGPUs.

When users utilize vGPU, if the GPU selects the mdev device, PXVIRT won't add any GPU devices for QEMU. At the same time, it will enable the Display feature of vfio-pci for vGPU. The advantage is that users can directly view the vGPU desktop through VNC instead of disabling the QEMU graphics card and accessing it remotely.

Of course, this function requires adding the mdev device. If it's not added, the VNC page will remain black.

After startup, when paired with vGPU, the effect is as follows:

alt text

In the Device Manager, there will only be vGPU graphics cards, achieving better software compatibility.

Tips

Don't rush to use it yet. Mdev pairs better with the following functions!

Mdev Display

When you add a vGPU, an option for 'Ramfb Display' will be displayed.

alt text

This option will enable the 'ramfb' function of vfio-pci. By using this function, BIOS screen display can be enabled in virtual machines equipped with vGPU devices.

alt text

If this function is not enabled, the virtual machine will remain black after starting up until the graphics card driver is loaded. Therefore, we recommend using this option.

NetCard Sriov

We provide a sriov-net-tools, which can enable the network card sriov easily. We have enhanced the network card SRIOV in the UI.

When you select a SRIOV network card device on PCI selector, you can configure the mac and vlan of sriov in Advanced. Fixed mac can prevent mac address changes, which is very effective in dhcp environment. Setting vlan can make networking more convenient.