qemu-server/PVE/QemuServer
Dominik Csapak 458b487bed pci: don't hard require resetting devices for passthrough
Since pve-common commit:

 eff5957 (sysfstools: file_write: properly catch errors)

this check here fails now when the reset does not work. It turns out
that resetting the device is not always necessary, and we previously
ignored most errors when trying to do so.

To restore that functionality, downgrade this `die` to a warning.

If the device really needs a reset to work, it will either fail later
during startup, or not work correctly in the guest, but that behavior
existed before and is AFAIK not really detectable from our side.

Also improve the warning message a bit to not scare users and explain
that we're continuing.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
 [ TL: fine-tune error message a bit and avoid parenthesis ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2024-11-11 20:33:25 +01:00
..
Agent.pm tree wide cleanup of s/return undef/return/ 2020-10-16 16:20:05 +02:00
CGroup.pm fix #5528: override cgroup methods to call systemd via dbus 2024-07-23 08:05:53 +02:00
Cloudinit.pm fix 4493: cloud-init: fix generated Windows config 2024-07-30 19:49:28 +02:00
CPUConfig.pm cpu config: fix get_cpu_bitness always reverting to default cpu type 2024-04-24 11:37:28 +02:00
Drive.pm drive: tpm: fix default version in schema 2024-07-01 10:37:48 +02:00
Helpers.pm vm start: set higher timeout if using PCI passthrough 2023-10-06 18:12:07 +02:00
ImportDisk.pm disk import: warn when fallback is used instead of requested format 2024-03-14 14:01:12 +01:00
Machine.pm move helper to check running QEMU version out of the 'Machine' module 2024-07-30 21:19:51 +02:00
Makefile introduce QMPHelpers module 2023-09-18 17:08:48 +02:00
Memory.pm add memory parser 2023-09-18 17:08:48 +02:00
Monitor.pm monitor: allow passing timeout for a HMP command 2024-06-11 13:56:44 +02:00
OVF.pm fix typos in user-visible strings 2024-10-24 13:15:06 +02:00
PCI.pm pci: don't hard require resetting devices for passthrough 2024-11-11 20:33:25 +01:00
QMPHelpers.pm move nbd_stop helper to QMPHelpers module 2024-11-11 14:54:06 +01:00
USB.pm fix typos in user-visible strings 2024-10-24 13:15:06 +02:00