public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: "Daniel Kral" <d.kral@proxmox.com>
To: "Proxmox VE development discussion" <pve-devel@lists.proxmox.com>
Subject: Re: [pve-devel] [PATCH-SERIES qemu-server/manager v2 0/8] VM CPU flags: introduce vendor-agnostic 'nested-virt' CPU flag
Date: Mon, 10 Nov 2025 10:47:39 +0100	[thread overview]
Message-ID: <DE4X4IUHNGME.V9WJ6OE2E33R@proxmox.com> (raw)
In-Reply-To: <20251107144429.126790-1-f.ebner@proxmox.com>

On Fri Nov 7, 2025 at 3:43 PM CET, Fiona Ebner wrote:
> Changes in v2 (thanks Dano and Thomas!):
> * Pass running CPU configuration when using 'nested-virt'. This
>   ensures that migration fails early if the flag resolves differently
>   on the target.
> * Describe that live migration still only works if it's the same flag.
> * Drop adding non-existing link in API end point.
> * Keep $supported_cpu_flags private to module and add getter method.
> * Unpack @_ first at the beginning of resolve_cpu_flags().
> * ui: fix function call in the CPU flag selector widget.
> * ui: use simpler method to get all records of the store.
> * Drop already applied patches.

Had another look at the patches and tested the same as last time
(different combinations of {+,-}nested-virt and {+,-}vmx on Intel host
in custom cpu model and cpu flags).

As I don't have a mixed-vendor (AMD/Intel) cluster ready, I couldn't
test whether the migration would abort if e.g. I were to live migrate a
VM with "+svm" to a Intel host, but from an off-list demonstration from
@Fiona and the code I assume that this works the same as starting a VM
with "+svm" on an Intel host, which results in the fatal error below:

kvm: warning: host doesn't support requested feature: CPUID[eax=80000001h].ECX.svm [bit 2]
kvm: Host doesn't support requested features

Otherwise, the changes from v1 to v2 and the patches overall look good
to me, so consider this as:

Reviewed-by: Daniel Kral <d.kral@proxmox.com>
Tested-by: Daniel Kral <d.kral@proxmox.com>


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


  parent reply	other threads:[~2025-11-10  9:46 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-07 14:43 Fiona Ebner
2025-11-07 14:43 ` [pve-devel] [PATCH qemu-server v2 1/8] critic: code style: cpu config: unpack @_ first in resolve_cpu_flags() Fiona Ebner
2025-11-07 14:43 ` [pve-devel] [PATCH qemu-server v2 2/8] api: add endpoint for querying available cpu flags Fiona Ebner
2025-11-07 14:43 ` [pve-devel] [PATCH qemu-server v2 3/8] cpu config: introduce is_abstracted() helper Fiona Ebner
2025-11-07 14:43 ` [pve-devel] [PATCH qemu-server v2 4/8] cpu config: introduce vendor-agnostic 'nested-virt' CPU flag Fiona Ebner
2025-11-14 15:07   ` [pve-devel] applied: " Thomas Lamprecht
2025-11-07 14:43 ` [pve-devel] [PATCH manager v2 5/8] api: capabilities: register module for VM CPU flags Fiona Ebner
2025-11-14  0:14   ` Thomas Lamprecht
2025-11-07 14:43 ` [pve-devel] [PATCH manager v2 6/8] ui: cpu flag selector: code style: use 'let' for declarations Fiona Ebner
2025-11-14  0:14   ` Thomas Lamprecht
2025-11-07 14:43 ` [pve-devel] [PATCH manager v2 7/8] ui: cpu flag selector: use simpler method to get all records of the store Fiona Ebner
2025-11-14  0:14   ` Thomas Lamprecht
2025-11-07 14:43 ` [pve-devel] [PATCH manager v2 8/8] ui: cpu flag selector: query CPU flag list via API Fiona Ebner
2025-11-14  0:14   ` Thomas Lamprecht
2025-11-10  9:47 ` Daniel Kral [this message]
2025-11-13 22:51 ` [pve-devel] partially-applied: [PATCH-SERIES qemu-server/manager v2 0/8] VM CPU flags: introduce vendor-agnostic 'nested-virt' CPU flag Thomas Lamprecht
2025-11-14 14:27   ` Fiona Ebner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DE4X4IUHNGME.V9WJ6OE2E33R@proxmox.com \
    --to=d.kral@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal