Projects
home:Eustace:branches:Eulaceura:Factory
libvirt
_service:obs_scm:cpu-aarch64-enable-host-model-...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:cpu-aarch64-enable-host-model-cpu-for-AArch64-archit.patch of Package libvirt
From 3650de04c4dc99416b7a2d4edd283217657e77c5 Mon Sep 17 00:00:00 2001 From: Xu Yandong <xuyandong2@huawei.com> Date: Wed, 20 May 2020 02:33:27 -0400 Subject: [PATCH] cpu/aarch64: enable host-model cpu for AArch64 architecture The 'host-model' cpu is support by kunpeng-v virtualization suit, skip hypervisor host-model externsion checking on AArch64 architecture. Signed-off-by: Xu Yandong <xuyandong2@huawei.com> Signed-off-by: lishusen <lishusen2@huawei.com> --- src/qemu/qemu_command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index d54149ed2d..e3cf092828 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -6278,7 +6278,7 @@ qemuBuildCpuModelArgStr(virQEMUDriver *driver, break; } - if ((ARCH_IS_S390(def->os.arch) || ARCH_IS_ARM(def->os.arch)) && + if (ARCH_IS_S390(def->os.arch) && cpu->features && !virQEMUCapsGet(qemuCaps, QEMU_CAPS_QUERY_CPU_MODEL_EXPANSION)) { virReportError(VIR_ERR_INTERNAL_ERROR, -- 2.27.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2