public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Fiona Ebner <f.ebner@proxmox.com>
To: "DERUMIER, Alexandre" <alexandre.derumier@groupe-cyllene.com>,
	"pve-devel@lists.proxmox.com" <pve-devel@lists.proxmox.com>,
	"aderumier@odiso.com" <aderumier@odiso.com>
Subject: Re: [pve-devel] [PATCH pve-qemu 1/1] patch: add 0001-add-cpu-models-x86-64-abi.patch
Date: Wed, 17 May 2023 11:08:35 +0200	[thread overview]
Message-ID: <26e8f366-da72-d3a7-ed62-f25ff4b78764@proxmox.com> (raw)
In-Reply-To: <b914156befc014c60e3df8555d88c2069fcd25ae.camel@groupe-cyllene.com>

Am 17.05.23 um 10:25 schrieb DERUMIER, Alexandre:
> Le mercredi 17 mai 2023 à 09:46 +0200, Fiona Ebner a écrit :
>> Am 17.05.23 um 09:02 schrieb Alexandre Derumier:
>>> Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
>>> ---
>>>  .../pve/0001-add-cpu-models-x86-64-abi.patch  | 272
>>> ++++++++++++++++++
>>>  debian/patches/series                         |   1 +
>>>  2 files changed, 273 insertions(+)
>>>  create mode 100644 debian/patches/pve/0001-add-cpu-models-x86-64-
>>> abi.patch
>>>
>>
>> Do we really need this? Can't we just define these as custom CPU
>> models
>> in qemu-server? I'd really prefer to not pick up such patches if not
>> necessary. Ideally, we reduce divergence from upstream QEMU rather
>> than
>> increase it. 
> yes sure we can do it in qemu-server, with simply setting flags in
> command line.
> 
> It was more by security to not forgot a cpu flag.
> 
> 
>> Since the patch was never applied, what other solution did
>> upstream or libvirt go for?
> The end of the discussion was that it could be done userland
> like qemu-server ;)

Yes, let's just introduce a custom CPU model there, which will be the
new UI default.

> I'll rework the patch series.
> 
> (BTW, what do you think about bumping the default model ? is it ok for
> you ?)
> 

Yes, I do think it should be done, because most currently in-use CPUs
should be fine with x86-64-abi2 and it's not nice to users if the
defaults don't work out-of-the-box[0]. And other people can just select
kvm64. Changing the default in the UI for new VMs should not lead to any
breakage and your series does just that. Still, something we'll want to
mention in the PVE 8 release notes to not catch people off guard.

[0]:
https://forum.proxmox.com/threads/kernel-panic-when-creating-vms-centos-9-stream-iso.104656/




  reply	other threads:[~2023-05-17  9:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-17  7:02 [pve-devel] [PATCH-SERIES qemu/qemu-server/manager 0/1] add and set x86-64-v2 as default model for new vms Alexandre Derumier
2023-05-17  7:02 ` [pve-devel] [PATCH qemu-server 1/1] cpuconfig: add new x86-64-abi models Alexandre Derumier
2023-05-17  7:02 ` [pve-devel] [PATCH pve-qemu 1/1] patch: add 0001-add-cpu-models-x86-64-abi.patch Alexandre Derumier
2023-05-17  7:46   ` Fiona Ebner
2023-05-17  8:25     ` DERUMIER, Alexandre
2023-05-17  9:08       ` Fiona Ebner [this message]
2023-05-19  9:16         ` Thomas Lamprecht
2023-05-17  7:02 ` [pve-devel] [PATCH pve-manager 1/1] qemu: processor : set x86-64-abi2 as default cputype for create wizard Alexandre Derumier
2023-05-17  7:34 ` [pve-devel] [PATCH-SERIES qemu/qemu-server/manager 0/1] add and set x86-64-v2 as default model for new vms Fabian Grünbichler
2023-05-18  5:03   ` DERUMIER, Alexandre

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=26e8f366-da72-d3a7-ed62-f25ff4b78764@proxmox.com \
    --to=f.ebner@proxmox.com \
    --cc=aderumier@odiso.com \
    --cc=alexandre.derumier@groupe-cyllene.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