]> git.proxmox.com Git - qemu-server.git/commit - PVE/API2/Qemu.pm
fix #4957: add vendor and product information passthrough for SCSI-Disks
authorHannes Duerr <h.duerr@proxmox.com>
Wed, 10 Jan 2024 12:45:49 +0000 (13:45 +0100)
committerFiona Ebner <f.ebner@proxmox.com>
Fri, 26 Jan 2024 10:12:58 +0000 (11:12 +0100)
commitd1feab4aa20cdc71c4294703289f658a0b5553fd
tree9f91b44abdbced88a24552095230d95f9ec0e167
parentc1b2092d5ea0e4fa64dfc0edfa9ce3a97026e436
fix #4957: add vendor and product information passthrough for SCSI-Disks

adds vendor and product information for SCSI devices to the json schema
and checks in the VM create/update API call if it is possible to add
these to QEMU as a device option

Signed-off-by: Hannes Duerr <h.duerr@proxmox.com>
[FE: add missing space to exception message
     use config option for exception e.g. scsi0 rather than 'product'
     style fixes]
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
PVE/API2/Qemu.pm
PVE/QemuServer.pm
PVE/QemuServer/Drive.pm