Skip to content

Commit

Permalink
add some xml files
Browse files Browse the repository at this point in the history
  • Loading branch information
aginies committed Oct 18, 2022
1 parent 5b0cf6f commit 00c106c
Show file tree
Hide file tree
Showing 13 changed files with 47 additions and 0 deletions.
File renamed without changes.
3 changes: 3 additions & 0 deletions src/xml/console_virtio.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<console type="pty">
<target type="virtio"/>
</console>
5 changes: 5 additions & 0 deletions src/xml/fs_passthrough.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<filesystem type="mount">
<source dir="/tmp"/>
<target dir="/tmp"/>
<driver type="virtiofs"/>
</filesystem>
4 changes: 4 additions & 0 deletions src/xml/graphics_spice.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes" listen="0.0.0.0">
<gl enable="no"/>
<image compression="off"/>
</graphics>
1 change: 1 addition & 0 deletions src/xml/graphics_vnc.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<graphics type="vnc" port="-1" listen="0.0.0.0"/>
5 changes: 5 additions & 0 deletions src/xml/network_bridge.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<interface type="bridge">
<source bridge="br0"/>
<mac address="52:54:00:79:a3:83"/>
<model type="virtio"/>
</interface>
5 changes: 5 additions & 0 deletions src/xml/network_nat.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<interface type="network">
<source network="default"/>
<mac address="52:54:00:79:a3:83"/>
<model type="virtio"/>
</interface>
6 changes: 6 additions & 0 deletions src/xml/storage.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<disk type="file" device="disk">
<driver name="qemu" type="qcow2" cache="none" discard="unmap"/>
<source file="/var/lib/libvirt/images/storage.qcow2"/>
<target dev="vdb" bus="virtio"/>
</disk>

3 changes: 3 additions & 0 deletions src/xml/tpm_crb2.0.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<tpm model="tpm-crb">
<backend type="emulator" version="2.0"/>
</tpm>
5 changes: 5 additions & 0 deletions src/xml/tpm_passthrough.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<tpm model="tpm-crb">
<backend type="passthrough">
<device path="/dev/tpm0"/>
</backend>
</tpm>
3 changes: 3 additions & 0 deletions src/xml/tpm_tis2.0.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<tpm model="tpm-tis">
<backend type="emulator" version="2.0"/>
</tpm>
4 changes: 4 additions & 0 deletions src/xml/video_qxl.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<video>
<model type="qxl" ram="65536" vram="65536" vgamem="16384" heads="1"/>
<address type="pci" domain="0x0000" bus="0x10" slot="0x01" function="0x0"/>
</video>
3 changes: 3 additions & 0 deletions src/xml/video_vga.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<video>
<model type="vga"/>
</video>

0 comments on commit 00c106c

Please sign in to comment.