<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://192.168.180.206:8001/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://192.168.180.206:8001/feed.php">
        <title>wiki.niziak.spox.org - vm:proxmox:kvm</title>
        <description></description>
        <link>http://192.168.180.206:8001/</link>
        <image rdf:resource="http://192.168.180.206:8001/_media/wiki:dokuwiki.svg" />
       <dc:date>2026-05-14T07:34:31+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://192.168.180.206:8001/vm:proxmox:kvm:disk_passthrough?rev=1634808793&amp;do=diff"/>
                <rdf:li rdf:resource="http://192.168.180.206:8001/vm:proxmox:kvm:gpu_poassthrough?rev=1626522489&amp;do=diff"/>
                <rdf:li rdf:resource="http://192.168.180.206:8001/vm:proxmox:kvm:iothread?rev=1640847087&amp;do=diff"/>
                <rdf:li rdf:resource="http://192.168.180.206:8001/vm:proxmox:kvm:linux?rev=1741098039&amp;do=diff"/>
                <rdf:li rdf:resource="http://192.168.180.206:8001/vm:proxmox:kvm:shrink_disc?rev=1645618071&amp;do=diff"/>
                <rdf:li rdf:resource="http://192.168.180.206:8001/vm:proxmox:kvm:spice?rev=1600888771&amp;do=diff"/>
                <rdf:li rdf:resource="http://192.168.180.206:8001/vm:proxmox:kvm:virtio_drivers?rev=1770115236&amp;do=diff"/>
                <rdf:li rdf:resource="http://192.168.180.206:8001/vm:proxmox:kvm:windows?rev=1736408148&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://192.168.180.206:8001/_media/wiki:dokuwiki.svg">
        <title>wiki.niziak.spox.org</title>
        <link>http://192.168.180.206:8001/</link>
        <url>http://192.168.180.206:8001/_media/wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="http://192.168.180.206:8001/vm:proxmox:kvm:disk_passthrough?rev=1634808793&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-10-21T09:33:13+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Disk passthrough</title>
        <link>http://192.168.180.206:8001/vm:proxmox:kvm:disk_passthrough?rev=1634808793&amp;do=diff</link>
        <description>Disk passthrough

it is possible to attach disk to running KVM machine.


# Add SCSI drive:
qm set 107 -scsi3 /dev/disk/by-id/ata-ADATA_SU800_2I0120040332

# Add single partition to SCSI controller:
qm set 107 -scsi3 /dev/disk/by-id/ata-ADATA_SU800_2I0120040332-part3


# Remove drive:
qm unlink 107 --idlist scsi3</description>
    </item>
    <item rdf:about="http://192.168.180.206:8001/vm:proxmox:kvm:gpu_poassthrough?rev=1626522489&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-07-17T11:48:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>GPU passthrough</title>
        <link>http://192.168.180.206:8001/vm:proxmox:kvm:gpu_poassthrough?rev=1626522489&amp;do=diff</link>
        <description>GPU passthrough

AMD APU

&lt;https://gist.github.com/SimonTod/72945457c4d7e741a382ba9ce9c4731b&gt;

PCIe


echo &quot;blacklist nouveau&quot; &gt;&gt; /etc/modprobe.d/blacklist.conf
echo &quot;blacklist nvidia&quot; &gt;&gt; /etc/modprobe.d/blacklist.conf
update-initramfs -u



lcpci
26:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2)

lspci -n -s 26:00.0
26:00.0 0300: 10de:0a65 (rev a2)

echo &quot;options vfio-pci ids=10de:0a65&quot; &gt; /etc/modprobe.d/vfio.conf

rmmod vfio-pci
modprobe vfio-pci

dmesg
[536167…</description>
    </item>
    <item rdf:about="http://192.168.180.206:8001/vm:proxmox:kvm:iothread?rev=1640847087&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-12-30T06:51:27+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IO thread</title>
        <link>http://192.168.180.206:8001/vm:proxmox:kvm:iothread?rev=1640847087&amp;do=diff</link>
        <description>IO thread

Enabled IO thread option is ignored when controler is other than VirtIO SCSI Single.

KVM without iothread


-device virtio-scsi-pci,id=scsihw0,bus=pci.0,addr=0x5 

-drive file=/dev/zvol/nvmpool/data/vm-701-disk-1,if=none,id=drive-scsi0,discard=on,format=raw,cache=none,aio=io_uring,detect-zeroes=unmap 
-device scsi-hd,bus=scsihw0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0,id=scsi0,rotation_rate=1,bootindex=100 

-drive file=/dev/zvol/hddpool/data/vm-701-disk-1,if=none,id=drive-scsi…</description>
    </item>
    <item rdf:about="http://192.168.180.206:8001/vm:proxmox:kvm:linux?rev=1741098039&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-03-04T14:20:39+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Linux Guests</title>
        <link>http://192.168.180.206:8001/vm:proxmox:kvm:linux?rev=1741098039&amp;do=diff</link>
        <description>Linux Guests

Filesystem

If ZFS is used on host (CoW filesystem) using CoW filesystem on guest generates overhead. Better is to use simple XFS or Ext4 if BTRFS snapshot and subvolumes functionality is not needed in guest.

Linux Guest on BTRFS:

	*</description>
    </item>
    <item rdf:about="http://192.168.180.206:8001/vm:proxmox:kvm:shrink_disc?rev=1645618071&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-02-23T12:07:51+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Shrink VM disc image</title>
        <link>http://192.168.180.206:8001/vm:proxmox:kvm:shrink_disc?rev=1645618071&amp;do=diff</link>
        <description>Shrink VM disc image

Shrinking is not supported by Proxmox

QEMU is not capable to resize ZFS raw data.

Workaround:

	*  Shrink disc in guest OS (i.e. using gparted to a bit smaller than desired block device size)
	*  Change VM disc size. Two ways:</description>
    </item>
    <item rdf:about="http://192.168.180.206:8001/vm:proxmox:kvm:spice?rev=1600888771&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-09-23T19:19:31+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>SPICE</title>
        <link>http://192.168.180.206:8001/vm:proxmox:kvm:spice?rev=1600888771&amp;do=diff</link>
        <description>SPICE


apt -y install virt-viewer 


On guest install spice-guest-tools-latest.exe

Issues

undefined symbol: libusb_set_option


virt-viewer: symbol lookup error: /usr/lib/x86_64-linux-gnu/libusbredirhost.so.1: undefined symbol: libusb_set_option


Downgrade libusbredirhost1 to version</description>
    </item>
    <item rdf:about="http://192.168.180.206:8001/vm:proxmox:kvm:virtio_drivers?rev=1770115236&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-02-03T10:40:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>virtio drivers</title>
        <link>http://192.168.180.206:8001/vm:proxmox:kvm:virtio_drivers?rev=1770115236&amp;do=diff</link>
        <description>virtio drivers

download

&lt;https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/&gt;

Latest versions:

	*  Windows 7: virtio-win-0.1.173.iso
	*  Windows 8: ??? virtio-win-0.1.190.iso
	*  Windows 10:

devices

Most common absolute minimum for Windows:

	*  PCI Device VEN_1AF4 DEV_1002
		*  VirtIO Balloon Driver Balloon\w10\amd64

	*  PCI Simple Communications Controller</description>
    </item>
    <item rdf:about="http://192.168.180.206:8001/vm:proxmox:kvm:windows?rev=1736408148&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-09T07:35:48+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Windows Guests</title>
        <link>http://192.168.180.206:8001/vm:proxmox:kvm:windows?rev=1736408148&amp;do=diff</link>
        <description>Windows Guests

	*  Windows 10 guest best practices
		*  Windows VirtIO Drivers
		*  Migration of servers to Proxmox VE

NOTE: QEMU guest agent requires  also virtio-serial

Win7

	*  WIN7: do not enable KVM storage cache. Writeback cache slows down everything.

Tuning Guest

	*  Performance Tweaks
	*  Use kvm64 CPU: Windows VM insanely slow
	*  mitigations)
	*  Do not enable any caching on storage devices, it slows down everything!</description>
    </item>
</rdf:RDF>
