mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-11 02:25:36 +00:00
pci: prepare: improve no-IOMMU error message
give some context Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
1fb1822ec9
commit
d01de38cb6
@ -471,7 +471,7 @@ sub prepare_pci_device {
|
||||
my ($vmid, $pciid, $index, $mdev) = @_;
|
||||
|
||||
my $info = PVE::SysFSTools::pci_device_info("$pciid");
|
||||
die "IOMMU not present\n" if !PVE::SysFSTools::check_iommu_support();
|
||||
die "cannot prepare PCI pass-through, IOMMU not present\n" if !PVE::SysFSTools::check_iommu_support();
|
||||
die "no pci device info for device '$pciid'\n" if !$info;
|
||||
|
||||
if ($mdev) {
|
||||
|
Loading…
Reference in New Issue
Block a user