Compare commits

..

2 Commits

Author SHA1 Message Date
Leonard Excoffier
9acf2936de feat: changed disk to raw 2024-09-08 22:40:17 -04:00
Leonard Excoffier
df25dda301 feat: changed machine to pc most recent 2024-09-08 22:36:40 -04:00

View File

@@ -3,7 +3,7 @@
<memory unit='KiB'>1048576</memory> <!-- 1 GiB Memory --> <memory unit='KiB'>1048576</memory> <!-- 1 GiB Memory -->
<vcpu placement='static'>1</vcpu> <!-- 1 vCPU --> <vcpu placement='static'>1</vcpu> <!-- 1 vCPU -->
<os> <os>
<type arch='x86_64' machine='pc-i440fx-5.2'>hvm</type> <!-- Change machine type based on your requirement --> <type arch='x86_64' machine='pc-q35-7.2'>hvm</type> <!-- Change machine type based on your requirement -->
<boot dev='hd'/> <boot dev='hd'/>
</os> </os>
<cpu mode='host-passthrough'> <!-- Enable CPU passthrough --> <cpu mode='host-passthrough'> <!-- Enable CPU passthrough -->
@@ -11,8 +11,8 @@
</cpu> </cpu>
<devices> <devices>
<disk type='file' device='disk'> <disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/> <driver name='qemu' type='raw'/>
<source path='/var/lib/libvirt/images/basic-vm.qcow2'/> <!-- Disk image path --> <source path='/var/lib/libvirt/images/debian.img'/> <!-- Disk image path -->
<target dev='vda' bus='virtio'/> <target dev='vda' bus='virtio'/>
</disk> </disk>
<interface type='network'> <interface type='network'>