message: Bug PVC is deleted along with VM even with "Delete Disks" unchecked
diff: import { coFetch } from '@console/internal/co-fetch';
  import { groupVersionFor, k8sKill, k8sPatch, resourceURL } from '@console/internal/module/k8s';
  -import { VirtualMachineModel } from '../../../models';
  -import {
  - getKubevirtAvailableModel,
  - getKubevirtModelAvailableAPIVersion,
  - kubevirtReferenceForModel,
  -} from '../../../models/kubevirtReferenceForModel';
  +import { DataVolumeModel, VirtualMachineModel } from '../../../models';
  +import { getKubevirtAvailableModel } from '../../../models/kubevirtReferenceForModel';
  import { getAPIVersion, getName, getNamespace } from '../../../selectors';
  import { V1AddVolumeOptions, V1RemoveVolumeOptions } from '../../../types/api';
  import { K8sResourceWithModel } from '../../../types/k8s-resource-with-model';
  import { VMKind } from '../../../types/vm';
  import { VMImportKind } from '../../../types/vm-import/ovirt/vm-import';
  +import { PatchBuilder } from '../../helpers/patch';
  import { getBootPatch } from '../../patches/vm/vm-boot-patches';
  -import { freeOwnedResources } from '../free-owned-resources';
  import { cancelVMImport } from '../vmimport';
  export enum VMActionType {
  @@ -87,15 +83,16 @@ export const deleteVM = async (
  },
  ) => {
  if (ownedVolumeResources && !deleteOwnedVolumeResources) {
  - await freeOwnedResources(
  - ownedVolumeResources,
  - {
  - name: getName(vm),
  - kind: kubevirtReferenceForModel(VirtualMachineModel),
  - apiVersion: getKubevirtModelAvailableAPIVersion(VirtualMachineModel),
  - } as any,
  - false,
  + await k8sPatch(VirtualMachineModel, vm, [
  + new PatchBuilder('/spec/dataVolumeTemplates').remove().build(),
  + ]);
  +
  + const promises = ownedVolumeResources?.map((ownedVolume) =>
  + k8sPatch(DataVolumeModel, ownedVolume?.resource, [
  + new PatchBuilder('/metadata/ownerReferences').remove().build(),
  + ]),
  );
  + await Promise.all(promises);
  }
  if (vmImport && deleteVMImport) {
  