[pve-devel] Feature idea: import cloud images as disks, or at VM creation

2021-11-08 Thread Gilles Pietri
Hi, There's something I'd like to add to the UI, but I'd like some input from others, or at least know how useful it may sound. I'd like to be able to import cloud image from distributions. My idea would be to add a qemu template type (could be raw to start, but really anything that can be i

[pve-devel] Audio support, dummy/none

2021-01-02 Thread Gilles Pietri
Hi! Happy new year to everyone, especially the devs working on Proxmox, it's still awesome in 2021 ;) I'm interested in replicating a qemu audio setup that uses the dummy driver (called "none") on Proxmox, but the enum $audio_fmt (PVE/QemuServer.pm) for drivers only contains spice as a choice, wh

Re: [pve-devel] Audio support, dummy/none

2021-01-04 Thread Gilles Pietri
Le 04/01/2021 à 16:55, Aaron Lauterer a écrit : > Hi Gilou! > > On 1/3/21 1:55 AM, Gilles Pietri wrote: >> Hi! >> >> Happy new year to everyone, especially the devs working on Proxmox, it's >> still awesome in 2021 ;) >> >> I'm intereste

Re: [pve-devel] Audio support, dummy/none

2021-01-04 Thread Gilles Pietri
Le 03/01/2021 à 01:55, Gilles Pietri a écrit : > Hi! > > Happy new year to everyone, especially the devs working on Proxmox, it's > still awesome in 2021 ;) > > I'm interested in replicating a qemu audio setup that uses the dummy > driver (called "none&q

Re: [pve-devel] Audio support, dummy/none

2021-01-05 Thread Gilles Pietri
Le 05/01/2021 à 12:43, Aaron Lauterer a écrit : > Adding support for the 'none' backend should not be too hard to > implement. Besides changes in QemuServer.pm, the GUI (pve-manager) needs > to be adapted as well because right now the backend is hard coded. I'll start with that, it's a good "non i

[pve-devel] PVE development environment

2021-01-07 Thread Gilles Pietri
Hi, Sorry if this doesn't belong here, point me in the right direction if there is one ;) I read extensively what's there, and that is very helpful: https://pve.proxmox.com/wiki/Developer_Documentation I also read the thread here: I read also https://lists.proxmox.com/pipermail/pve-devel/2018-Aug

[pve-devel] [PATCH qemu-server] audio: add the none audio backend

2021-01-07 Thread Gilles Pietri
Signed-off-by: Gilles Pietri --- PVE/QemuServer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index bca5669..54278e5 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -211,7 +211,7 @@ my $audio_fmt = { }, driver

[pve-devel] [PATCH pve-manager] ui: qemu: add the none audio driver as an option

2021-01-07 Thread Gilles Pietri
Signed-off-by: Gilles Pietri --- www/manager6/qemu/AudioEdit.js | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/www/manager6/qemu/AudioEdit.js b/www/manager6/qemu/AudioEdit.js index 804e5a7a..4d039adf 100644 --- a/www/manager6/qemu/AudioEdit.js +++ b/www/manager6/qemu

[pve-devel] [PATCH-SERIES] add none audio backend

2021-01-07 Thread Gilles Pietri
Add the 'none' audio backend as an option for qemu-server: it behaves the same as the spice one (id=,driver=), and simply discards audio. Add the option in the Web UI for audio configuration. ___ pve-devel mailing list pve-devel@lists.proxmox.com https

Re: [pve-devel] [PATCH qemu-server] cloud-init: don't regenerate ssh hosts key on config change when vm is running

2021-01-13 Thread Gilles Pietri
Le 13/01/2021 à 10:01, Alexandre Derumier a écrit : > Currently, we always regenerate sshkeys on any config change. > > It should be done only before the first vm start, but currently can't known > that. > > So, this patch only do it when vm is running. Hi, There is something indeed annoying w