Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
335c4a5e
L
libvirt
项目概览
openeuler
/
libvirt
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
libvirt
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
335c4a5e
编写于
8月 10, 2018
作者:
P
Pavel Hrdina
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tests: remove unnecessary XML elements from hugepages-numa-default
Signed-off-by:
N
Pavel Hrdina
<
phrdina@redhat.com
>
上级
8d89a5c8
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
7 addition
and
115 deletion
+7
-115
tests/qemuxml2argvdata/hugepages-numa-default.args
tests/qemuxml2argvdata/hugepages-numa-default.args
+5
-37
tests/qemuxml2argvdata/hugepages-numa-default.xml
tests/qemuxml2argvdata/hugepages-numa-default.xml
+2
-72
tests/qemuxml2argvtest.c
tests/qemuxml2argvtest.c
+0
-6
未找到文件。
tests/qemuxml2argvdata/hugepages-numa-default.args
浏览文件 @
335c4a5e
...
...
@@ -3,7 +3,7 @@ PATH=/bin \
HOME=/home/test \
USER=test \
LOGNAME=test \
QEMU_AUDIO_DRV=
spic
e \
QEMU_AUDIO_DRV=
non
e \
/usr/bin/qemu-system-x86_64 \
-name fedora \
-S \
...
...
@@ -14,45 +14,13 @@ QEMU_AUDIO_DRV=spice \
-mem-path /dev/hugepages2M/libvirt/qemu/-1-fedora \
-numa node,nodeid=0,cpus=0-1,mem=1024 \
-uuid 63840878-0deb-4095-97e6-fc444d9bc9fa \
-display none \
-no-user-config \
-nodefaults \
-chardev socket,id=charmonitor,path=/tmp/lib/domain--1-fedora/monitor.sock,\
server,nowait \
-mon chardev=charmonitor,id=monitor,mode=control \
-rtc base=utc,driftfix=slew \
-no-hpet \
-rtc base=utc \
-no-shutdown \
-global PIIX4_PM.disable_s3=1 \
-global PIIX4_PM.disable_s4=1 \
-device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x6.0x7 \
-device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,\
addr=0x6 \
-device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x6.0x1 \
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x6.0x2 \
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 \
-drive file=/var/lib/libvirt/images/fedora.qcow2,format=qcow2,if=none,\
id=drive-virtio-disk0 \
-device virtio-blk-pci,bus=pci.0,addr=0x7,drive=drive-virtio-disk0,\
id=virtio-disk0,bootindex=1 \
-drive if=none,id=drive-ide0-0-0,media=cdrom,readonly=on \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-chardev socket,id=charchannel0,\
path=/var/lib/libvirt/qemu/channel/target/fedora.org.qemu.guest_agent.0,server,\
nowait \
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,\
id=channel0,name=org.qemu.guest_agent.0 \
-chardev spicevmc,id=charchannel1,name=vdagent \
-device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,\
id=channel1,name=com.redhat.spice.0 \
-device usb-tablet,id=input0,bus=usb.0,port=1 \
-spice port=5901,tls-port=5902,addr=127.0.0.1,x509-dir=/etc/pki/libvirt-spice \
-vga qxl \
-global qxl-vga.ram_size=67108864 \
-global qxl-vga.vram_size=67108864 \
-device intel-hda,id=sound0,bus=pci.0,addr=0x4 \
-device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 \
-chardev spicevmc,id=charredir0,name=usbredir \
-device usb-redir,chardev=charredir0,id=redir0,bus=usb.0,port=2 \
-chardev spicevmc,id=charredir1,name=usbredir \
-device usb-redir,chardev=charredir1,id=redir1,bus=usb.0,port=3 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x8
-no-acpi \
-usb
tests/qemuxml2argvdata/hugepages-numa-default.xml
浏览文件 @
335c4a5e
...
...
@@ -11,90 +11,20 @@
<type
arch=
'x86_64'
machine=
'pc-i440fx-2.3'
>
hvm
</type>
<boot
dev=
'hd'
/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<cpu>
<numa>
<cell
id=
'0'
cpus=
'0-1'
memory=
'1048576'
unit=
'KiB'
/>
</numa>
</cpu>
<clock
offset=
'utc'
>
<timer
name=
'rtc'
tickpolicy=
'catchup'
/>
<timer
name=
'pit'
tickpolicy=
'delay'
/>
<timer
name=
'hpet'
present=
'no'
/>
</clock>
<on_poweroff>
destroy
</on_poweroff>
<on_reboot>
restart
</on_reboot>
<on_crash>
restart
</on_crash>
<pm>
<suspend-to-mem
enabled=
'no'
/>
<suspend-to-disk
enabled=
'no'
/>
</pm>
<devices>
<emulator>
/usr/bin/qemu-system-x86_64
</emulator>
<disk
type=
'file'
device=
'disk'
>
<driver
name=
'qemu'
type=
'qcow2'
/>
<source
file=
'/var/lib/libvirt/images/fedora.qcow2'
/>
<target
dev=
'vda'
bus=
'virtio'
/>
<address
type=
'pci'
domain=
'0x0000'
bus=
'0x00'
slot=
'0x07'
function=
'0x0'
/>
</disk>
<disk
type=
'block'
device=
'cdrom'
>
<driver
name=
'qemu'
type=
'raw'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<readonly/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
</disk>
<controller
type=
'usb'
index=
'0'
model=
'ich9-ehci1'
>
<address
type=
'pci'
domain=
'0x0000'
bus=
'0x00'
slot=
'0x06'
function=
'0x7'
/>
</controller>
<controller
type=
'usb'
index=
'0'
model=
'ich9-uhci1'
>
<master
startport=
'0'
/>
<address
type=
'pci'
domain=
'0x0000'
bus=
'0x00'
slot=
'0x06'
function=
'0x0'
multifunction=
'on'
/>
</controller>
<controller
type=
'usb'
index=
'0'
model=
'ich9-uhci2'
>
<master
startport=
'2'
/>
<address
type=
'pci'
domain=
'0x0000'
bus=
'0x00'
slot=
'0x06'
function=
'0x1'
/>
</controller>
<controller
type=
'usb'
index=
'0'
model=
'ich9-uhci3'
>
<master
startport=
'4'
/>
<address
type=
'pci'
domain=
'0x0000'
bus=
'0x00'
slot=
'0x06'
function=
'0x2'
/>
</controller>
<controller
type=
'usb'
index=
'0'
/>
<controller
type=
'pci'
index=
'0'
model=
'pci-root'
/>
<controller
type=
'ide'
index=
'0'
>
<address
type=
'pci'
domain=
'0x0000'
bus=
'0x00'
slot=
'0x01'
function=
'0x1'
/>
</controller>
<controller
type=
'virtio-serial'
index=
'0'
>
<address
type=
'pci'
domain=
'0x0000'
bus=
'0x00'
slot=
'0x05'
function=
'0x0'
/>
</controller>
<channel
type=
'unix'
>
<source
mode=
'bind'
path=
'/var/lib/libvirt/qemu/channel/target/fedora.org.qemu.guest_agent.0'
/>
<target
type=
'virtio'
name=
'org.qemu.guest_agent.0'
/>
<address
type=
'virtio-serial'
controller=
'0'
bus=
'0'
port=
'1'
/>
</channel>
<channel
type=
'spicevmc'
>
<target
type=
'virtio'
name=
'com.redhat.spice.0'
/>
<address
type=
'virtio-serial'
controller=
'0'
bus=
'0'
port=
'2'
/>
</channel>
<input
type=
'tablet'
bus=
'usb'
/>
<input
type=
'mouse'
bus=
'ps2'
/>
<input
type=
'keyboard'
bus=
'ps2'
/>
<graphics
type=
'spice'
autoport=
'yes'
/>
<sound
model=
'ich6'
>
<address
type=
'pci'
domain=
'0x0000'
bus=
'0x00'
slot=
'0x04'
function=
'0x0'
/>
</sound>
<video>
<model
type=
'qxl'
ram=
'65536'
vram=
'65536'
vgamem=
'16384'
heads=
'1'
/>
<address
type=
'pci'
domain=
'0x0000'
bus=
'0x00'
slot=
'0x02'
function=
'0x0'
/>
</video>
<redirdev
bus=
'usb'
type=
'spicevmc'
>
</redirdev>
<redirdev
bus=
'usb'
type=
'spicevmc'
>
</redirdev>
<memballoon
model=
'virtio'
>
<address
type=
'pci'
domain=
'0x0000'
bus=
'0x00'
slot=
'0x08'
function=
'0x0'
/>
</memballoon>
<memballoon
model=
'none'
/>
</devices>
</domain>
tests/qemuxml2argvtest.c
浏览文件 @
335c4a5e
...
...
@@ -946,12 +946,6 @@ mymain(void)
DO_TEST
(
"hugepages-default"
,
NONE
);
DO_TEST
(
"hugepages-numa-default"
,
QEMU_CAPS_PIIX_DISABLE_S3
,
QEMU_CAPS_PIIX_DISABLE_S4
,
QEMU_CAPS_VIRTIO_SCSI
,
QEMU_CAPS_ICH9_USB_EHCI1
,
QEMU_CAPS_SPICE
,
QEMU_CAPS_DEVICE_QXL
,
QEMU_CAPS_HDA_DUPLEX
,
QEMU_CAPS_USB_REDIR
,
QEMU_CAPS_OBJECT_MEMORY_FILE
);
DO_TEST
(
"hugepages-numa-default-dimm"
,
QEMU_CAPS_DEVICE_PC_DIMM
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录