virt-manager/backport-tests-testdriver-Add-filesystem-socket-example.patch
yanjianqing 87986d5cd4 virt-manager upgrade to version 4.1.0-7
- tests: testdriver: Add filesystem socket example
- cli: Drop unnecessary --disk prop aliases
- fsdetails: Fix an error with source.socket of virtiofs
- tests: cli: Fix test output after previous commit
- cli: --disk: Add driver.metadata_cache options

(cherry picked from commit 58bb2a7d27e0b9cfde41ae8a026ccaa361d1aaea)
2024-07-29 16:55:04 +08:00

32 lines
1.0 KiB
Diff

From 1b87e3e54c782da39cf30b100a22f70c37bfcddd Mon Sep 17 00:00:00 2001
From: Cole Robinson <crobinso@redhat.com>
Date: Wed, 17 Aug 2022 10:29:31 -0400
Subject: [PATCH] tests: testdriver: Add filesystem socket example
Signed-off-by: Cole Robinson <crobinso@redhat.com>
---
tests/data/testdriver/testdriver.xml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/tests/data/testdriver/testdriver.xml b/tests/data/testdriver/testdriver.xml
index b213863d..7c94e698 100644
--- a/tests/data/testdriver/testdriver.xml
+++ b/tests/data/testdriver/testdriver.xml
@@ -599,6 +599,13 @@ Foo bar baz &amp; yeah boii &lt; &gt; yeahfoo
<source file='/root/container.vmdk'/>
<target dir='/home'/>
</filesystem>
+ <filesystem type='mount'>
+ <driver type='virtiofs' queue='1024'/>
+ <source socket='/tmp/sock'/>
+ <target dir='tag'/>
+ <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
+ </filesystem>
+
<!-- tpm devices -->
<tpm model='tpm-tis'>
--
2.37.2.windows.2