Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE3
/
gpuvirt
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
55c37d96
authored
Aug 09, 2023
by
Zoltan Karsa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
boomenu
parent
905a35ca
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
demo.txt
+2
-2
templates/demovm.xml
+4
-6
No files found.
demo.txt
View file @
55c37d96
...
...
@@ -6,8 +6,8 @@
"-cpu", "host,ss=on,vmx=on,pcid=on,-hypervisor,arat=on,tsc-adjust=on,umip=on,md-clear=on,stibp=on,
arch-capabilities=on,ssbd=on,xsaveopt=on,pdpe1gb=on,ibpb=on,amd-stibp=on,amd-ssbd=on,
skip-l1dfl-vmentry=on,pschange-mc-no=on,hv-vapic,hv_time,hv-spinlocks=0x1fff,hv-vendor-id=null,
kvm=off,topoext=on"
, "-rtc",
"
clock=host,base=localtime",
kvm=off,topoext=on"
-rtc
clock=host,base=localtime",
"-m", "4096", "-smp", "cores=1,threads=2,sockets=1",
"-hda", "/home/cloud/.local/libvf.io/live/99a34fe5-451a-4b68-a692-3b5ec2e46849",
"--enable-kvm",
...
...
templates/demovm.xml
View file @
55c37d96
...
...
@@ -11,22 +11,20 @@
</cpu>
<os>
<type
arch=
'x86_64'
machine=
'pc-q35-4.2'
>
hvm
</type>
<bootmenu
enable=
'yes'
/>
</os>
<devices>
<emulator>
/usr/bin/qemu-system-x86_64
</emulator>
<disk
type=
'file'
device=
'disk'
>
<driver
name=
'qemu'
type=
'qcow2'
/>
<source
file=
'{{ disk }}'
/>
<target
dev=
'hda'
bus=
'virtio'
/>
<boot
order=
'1'
/>
<target
dev=
'sda'
bus=
'sata'
/>
</disk>
{% if boot_iso %}
<disk
type=
'file'
device=
'disk'
>
<driver
name=
'qemu'
type=
'raw'
/>
<source
file=
'{{ iso }}'
index=
'1'
/>
<target
dev=
'hdc'
bus=
'virtio'
/>
<readonly/>
<boot
order=
'2'
/>
<source
file=
'{{ iso }}'
/>
<target
dev=
'sdb'
bus=
'sata'
/>
</disk>
{% endif %}
<interface
type=
'network'
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment