mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-23 13:05:27 +00:00
qemu: Rename virQEMUCapsObjectPropsMaxX86CPU
We're going to use it on non-x86 soon, so it needs a more generic name: virQEMUCapsObjectPropsMaxCPU. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Tested-by: Andrew Jones <drjones@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
448b7f81fc
commit
29830b75af
@ -1421,7 +1421,7 @@ static struct virQEMUCapsStringFlags virQEMUCapsObjectPropsMemoryBackendMemfd[]
|
||||
{ "hugetlb", QEMU_CAPS_OBJECT_MEMORY_MEMFD_HUGETLB },
|
||||
};
|
||||
|
||||
static struct virQEMUCapsStringFlags virQEMUCapsObjectPropsMaxX86CPU[] = {
|
||||
static struct virQEMUCapsStringFlags virQEMUCapsObjectPropsMaxCPU[] = {
|
||||
{ "unavailable-features", QEMU_CAPS_CPU_UNAVAILABLE_FEATURES },
|
||||
};
|
||||
|
||||
@ -1432,8 +1432,8 @@ static virQEMUCapsObjectTypeProps virQEMUCapsObjectProps[] = {
|
||||
{ "memory-backend-memfd", virQEMUCapsObjectPropsMemoryBackendMemfd,
|
||||
G_N_ELEMENTS(virQEMUCapsObjectPropsMemoryBackendMemfd),
|
||||
QEMU_CAPS_OBJECT_MEMORY_MEMFD },
|
||||
{ "max-x86_64-cpu", virQEMUCapsObjectPropsMaxX86CPU,
|
||||
G_N_ELEMENTS(virQEMUCapsObjectPropsMaxX86CPU),
|
||||
{ "max-x86_64-cpu", virQEMUCapsObjectPropsMaxCPU,
|
||||
G_N_ELEMENTS(virQEMUCapsObjectPropsMaxCPU),
|
||||
QEMU_CAPS_X86_MAX_CPU },
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user