diff --git a/pkg/harvester/edit/kubevirt.io.virtualmachine/VirtualMachinePciDevices/index.vue b/pkg/harvester/edit/kubevirt.io.virtualmachine/VirtualMachinePciDevices/index.vue
index 254643fb..69807ed7 100644
--- a/pkg/harvester/edit/kubevirt.io.virtualmachine/VirtualMachinePciDevices/index.vue
+++ b/pkg/harvester/edit/kubevirt.io.virtualmachine/VirtualMachinePciDevices/index.vue
@@ -243,9 +243,9 @@ export default {
For vGPU devices, please enable them on the'
+ middle: vGPU Devices
suffix: page first.
+ howToUseDevice:
+ prefix: 'Select the device in the table to enable PCI passthrough.
For vGPU devices, please enable them on the'
+ middle: vGPU Devices
+ suffix: page.
deviceInTheSameHost: 'You can only select devices on the same host.'
oldFormatDevices:
help: |-
diff --git a/pkg/harvester/list/devices.harvesterhci.io.pcidevice.vue b/pkg/harvester/list/devices.harvesterhci.io.pcidevice.vue
index 3bf639c4..55417552 100644
--- a/pkg/harvester/list/devices.harvesterhci.io.pcidevice.vue
+++ b/pkg/harvester/list/devices.harvesterhci.io.pcidevice.vue
@@ -60,6 +60,17 @@ export default {
return schema;
},
+ toVGpuDevicesPage() {
+ return {
+ name: 'harvester-c-cluster-resource',
+ params: { cluster: this.$store.getters['clusterId'], resource: HCI.VGPU_DEVICE },
+ };
+ },
+
+ vGPUAsPCIDeviceEnabled() {
+ return this.$store.getters['harvester-common/getFeatureEnabled']('vGPUAsPCIDevice');
+ },
+
rows() {
const inStore = this.$store.getters['currentProduct'].inStore;
const rows = this.$store.getters[`${ inStore }/all`](HCI.PCI_DEVICE);
@@ -85,11 +96,23 @@ export default {
{{ t('harvester.pci.noPCIPermission') }}