Re: [pve-devel] [PATCH pve-docs v3] updated tags docs

2022-12-19 Thread Stefan Sterz
lgtm. consider this: Reviewed-by: Stefan Sterz On 12/15/22 15:20, Noel Ullreich wrote: > updated the tags doc with slight rephrasing, corrected grammar, > and fixed typos. > > Signed-off-by: Noel Ullreich > --- > changes since v1: > * removed changes in datacenter.cfg.5-opts.adoc since it is a

Re: [pve-devel] [PATCH qemu-server] cdrom handling: default to "none" if no physical drive is available

2022-12-19 Thread Fiona Ebner
Am 16.12.22 um 16:08 schrieb Stefan Sterz: > when a vm is configured to use the physical cd rom drive but there is > no such drive a cryptic "uninitialized value" error is thrown. this > is due to the `$path` not being defined in `sub > print_drive_commandline_full` in this case. warn that no cd ro

Re: [pve-devel] [PATCH qemu-server] cdrom handling: default to "none" if no physical drive is available

2022-12-19 Thread Stefan Sterz
On 12/19/22 10:23, Fiona Ebner wrote: > Am 16.12.22 um 16:08 schrieb Stefan Sterz: >> when a vm is configured to use the physical cd rom drive but there is >> no such drive a cryptic "uninitialized value" error is thrown. this >> is due to the `$path` not being defined in `sub >> print_drive_comman

[pve-devel] [PATCH qemu-server v2] cdrom handling: default to "none" if no physical drive is available

2022-12-19 Thread Stefan Sterz
when a vm is configured to use the physical cd rom drive but there is no such drive a cryptic "uninitialized value" error is thrown. this is due to `$path` not being defined in `sub print_drive_commandline_full` in this case. warn that no cd rom drive is available and default back to using "none" a

Re: [pve-devel] [PATCH qemu-server v2] cdrom handling: default to "none" if no physical drive is available

2022-12-19 Thread Fiona Ebner
Am 19.12.22 um 12:14 schrieb Stefan Sterz: > when a vm is configured to use the physical cd rom drive but there is > no such drive a cryptic "uninitialized value" error is thrown. this > is due to `$path` not being defined in `sub > print_drive_commandline_full` in this case. warn that no cd rom dr

Re: [pve-devel] [PATCH qemu-server] cdrom handling: default to "none" if no physical drive is available

2022-12-19 Thread Stefan Sterz
On 12/19/22 10:23, Fiona Ebner wrote: > Am 16.12.22 um 16:08 schrieb Stefan Sterz: >> when a vm is configured to use the physical cd rom drive but there is >> no such drive a cryptic "uninitialized value" error is thrown. this >> is due to the `$path` not being defined in `sub >> print_drive_comman

Re: [pve-devel] [PATCH qemu-server v2] cdrom handling: default to "none" if no physical drive is available

2022-12-19 Thread Stefan Sterz
On 12/19/22 12:23, Fiona Ebner wrote: > Am 19.12.22 um 12:14 schrieb Stefan Sterz: >> when a vm is configured to use the physical cd rom drive but there is >> no such drive a cryptic "uninitialized value" error is thrown. this >> is due to `$path` not being defined in `sub >> print_drive_commandlin

Re: [pve-devel] [PATCH qemu-server 00/10] rework memory hotplug + virtiomem

2022-12-19 Thread DERUMIER, Alexandre
> > Hi Fiona, thanks for the review > > > The general ideas looks fine to me and my basic testing seemed fine > too, > but most patches could use a few improvements. The biggest issue is > that > getting static information in HA manager is not adapted to the > change. > yes, I known, I wanted

Re: [pve-devel] [PATCH qemu-server 06/10] memory: use 64 slots && static dimm size with max is defined

2022-12-19 Thread DERUMIER, Alexandre
> > my $static_memory = get_static_mem($conf); > > +    my $confmem = PVE::QemuServer::parse_memory($conf->{memory}); > >   > > -    if ($hotplug_features->{memory}) { > > +    if ($hotplug_features->{memory} || defined($confmem->{max})) { > > So setting 'max' auto-attches the dimms[0], but

[pve-devel] [PATCH qemu-server v3] cd rom handling: return a clearer error when there is no cd rom drive

2022-12-19 Thread Stefan Sterz
when a vm is configured to use a physical cd rom drive but there is no such drive a cryptic "uninitialized value" error is thrown. this is due to `$path` not being defined in `sub print_drive_commandline_full` in this case. warn that no cd rom drive is available instead. note that the error was ba

Re: [pve-devel] [PATCH qemu-server 06/10] memory: use 64 slots && static dimm size with max is defined

2022-12-19 Thread Fiona Ebner
Am 19.12.22 um 13:05 schrieb DERUMIER, Alexandre: > >>> my $static_memory = get_static_mem($conf); >>> +    my $confmem = PVE::QemuServer::parse_memory($conf->{memory}); >>>   >>> -    if ($hotplug_features->{memory}) { >>> +    if ($hotplug_features->{memory} || defined($confmem->{max})) { >

[pve-devel] [PATCH qemu-server] cfg2cmd: don't set -id option anymore

2022-12-19 Thread Fiona Ebner
>From the corresponding patch file in the pve-qemu repository which introduces the option: > This used to be part of the qemu-side PVE authentication for > VNC. Now this does nothing. Remove it now, so the QEMU patch can be dropped with the next major PVE release. Signed-off-by: Fiona Ebner ---

Re: [pve-devel] [PATCH qemu-server] cfg2cmd: don't set -id option anymore

2022-12-19 Thread Fiona Ebner
Am 19.12.22 um 14:34 schrieb Fiona Ebner: > From the corresponding patch file in the pve-qemu repository which > introduces the option: >> This used to be part of the qemu-side PVE authentication for >> VNC. Now this does nothing. > > Remove it now, so the QEMU patch can be dropped with the next m

[pve-devel] [RFC manager] pveceph: add osd details command

2022-12-19 Thread Aaron Lauterer
To provide similar output on the CLI as is possible in the GUI/API regaring OSD details. By default (output-format=text) a more concise output is shown. Using json or yaml as output format will print all the available data. The 'verbose' flag causes json-pretty output to be used. The functionali

Re: [pve-devel] [PATCH qemu-server 09/10] tests: add virtio-mem tests

2022-12-19 Thread Thomas Lamprecht
On 16/12/2022 14:42, Fiona Ebner wrote: > It wasn't supported on QEMU 3.0 😉 But it raises the question if we > should introduce version guards for the feature? Not sure what our > current policy is when it comes to actively-opt-in features. Especially > if it's still a technology preview. Yeah wit

Re: [pve-devel] [PATCH qemu-server v3] cd rom handling: return a clearer error when there is no cd rom drive

2022-12-19 Thread Thomas Lamprecht
On 19/12/2022 13:23, Stefan Sterz wrote: > when a vm is configured to use a physical cd rom drive but there is no > such drive a cryptic "uninitialized value" error is thrown. this is > due to `$path` not being defined in `sub > print_drive_commandline_full` in this case. warn that no cd rom drive