apiVersion: kubevirt.io/v1
kind: VirtualMachineInstance
metadata:
  annotations:
    kubevirt.io/latest-observed-api-version: v1
    kubevirt.io/nonroot: "true"
    kubevirt.io/storage-observed-api-version: v1
    kubevirt.io/vm-generation: "6"
  creationTimestamp: "2025-10-29T12:48:29Z"
  finalizers:
  - kubevirt.io/virtualMachineControllerFinalize
  - foregroundDeleteVirtualMachine
  generation: 19
  labels:
    debugLogs: "true"
    kubevirt.io/domain: vm-snapshot-upgrade-a-1761741897-5416875
    kubevirt.io/migrationTargetNodeName: cnvqe-071.lab.eng.tlv2.redhat.com
    kubevirt.io/nodeName: cnvqe-071.lab.eng.tlv2.redhat.com
    kubevirt.io/vm: vm-snapshot-upgrade-a-1761741897-5416875
  managedFields:
  - apiVersion: kubevirt.io/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:labels:
          f:kubevirt.io/nodeName: {}
      f:status:
        f:interfaces: {}
        f:machine:
          .: {}
          f:type: {}
        f:memory:
          f:guestCurrent: {}
        f:migrationMethod: {}
        f:migrationState:
          f:completed: {}
          f:endTimestamp: {}
          f:mode: {}
          f:startTimestamp: {}
          f:targetDirectMigrationNodePorts:
            .: {}
            f:35465: {}
            f:45909: {}
          f:targetNodeAddress: {}
          f:targetNodeDomainDetected: {}
          f:targetNodeDomainReadyTimestamp: {}
        f:nodeName: {}
        f:phase: {}
        f:phaseTransitionTimestamps: {}
        f:selinuxContext: {}
        f:volumeStatus: {}
    manager: virt-handler
    operation: Update
    time: "2025-10-29T13:27:01Z"
  - apiVersion: kubevirt.io/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          .: {}
          f:kubevirt.io/latest-observed-api-version: {}
          f:kubevirt.io/nonroot: {}
          f:kubevirt.io/storage-observed-api-version: {}
          f:kubevirt.io/vm-generation: {}
        f:finalizers:
          .: {}
          v:"kubevirt.io/virtualMachineControllerFinalize": {}
        f:labels:
          .: {}
          f:debugLogs: {}
          f:kubevirt.io/domain: {}
          f:kubevirt.io/migrationTargetNodeName: {}
          f:kubevirt.io/vm: {}
        f:ownerReferences:
          .: {}
          k:{"uid":"bd518a58-34f3-4128-84ed-f207d84a6eb9"}: {}
      f:spec:
        .: {}
        f:architecture: {}
        f:domain:
          .: {}
          f:cpu:
            .: {}
            f:model: {}
          f:devices:
            .: {}
            f:disks: {}
            f:interfaces: {}
            f:rng: {}
          f:firmware:
            .: {}
            f:serial: {}
            f:uuid: {}
          f:machine:
            .: {}
            f:type: {}
          f:memory:
            .: {}
            f:guest: {}
          f:resources: {}
        f:networks: {}
        f:volumes: {}
      f:status:
        .: {}
        f:activePods:
          .: {}
          f:7b4b212a-e1b8-4432-a6d1-c83fad3d08be: {}
          f:52435852-f5b4-44d2-b05e-25546bb13f1e: {}
        f:conditions: {}
        f:guestOSInfo: {}
        f:launcherContainerImageVersion: {}
        f:migrationState:
          .: {}
          f:migrationConfiguration:
            .: {}
            f:allowAutoConverge: {}
            f:allowPostCopy: {}
            f:allowWorkloadDisruption: {}
            f:bandwidthPerMigration: {}
            f:completionTimeoutPerGiB: {}
            f:nodeDrainTaintKey: {}
            f:parallelMigrationsPerCluster: {}
            f:parallelOutboundMigrationsPerNode: {}
            f:progressTimeout: {}
            f:unsafeMigrationOverride: {}
          f:migrationUid: {}
          f:sourceNode: {}
          f:sourcePod: {}
          f:targetNode: {}
          f:targetPod: {}
        f:migrationTransport: {}
        f:qosClass: {}
        f:runtimeUser: {}
        f:virtualMachineRevisionName: {}
    manager: virt-controller
    operation: Update
    time: "2025-10-29T13:27:02Z"
  name: vm-snapshot-upgrade-a-1761741897-5416875
  namespace: test-upgrade-namespace
  ownerReferences:
  - apiVersion: kubevirt.io/v1
    blockOwnerDeletion: true
    controller: true
    kind: VirtualMachine
    name: vm-snapshot-upgrade-a-1761741897-5416875
    uid: bd518a58-34f3-4128-84ed-f207d84a6eb9
  resourceVersion: "2235630"
  uid: 2b81d6df-7eef-4def-b500-928d4fb8281c
spec:
  architecture: amd64
  domain:
    cpu:
      cores: 1
      maxSockets: 4
      model: Skylake-Client-v3
      sockets: 1
      threads: 1
    devices:
      disks:
      - disk:
          bus: virtio
        name: dv-disk
      interfaces:
      - masquerade: {}
        name: default
      rng: {}
    features:
      acpi:
        enabled: true
    firmware:
      serial: 06d012f4-df88-4c6b-ba71-e105a87763e5
      uuid: 5d7e11c1-87a7-51aa-8148-8d75c22aee0f
    machine:
      type: pc-q35-rhel9.6.0
    memory:
      guest: 64M
    resources:
      requests:
        memory: 64M
  evictionStrategy: LiveMigrate
  networks:
  - name: default
    pod: {}
  volumes:
  - dataVolume:
      name: restore-c4b40dee-1de2-417c-af84-4446cb196954-dv-disk
    name: dv-disk
status:
  activePods:
    7b4b212a-e1b8-4432-a6d1-c83fad3d08be: cnvqe-071.lab.eng.tlv2.redhat.com
    52435852-f5b4-44d2-b05e-25546bb13f1e: cnvqe-070.lab.eng.tlv2.redhat.com
  conditions:
  - lastProbeTime: null
    lastTransitionTime: "2025-10-29T13:27:02Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: null
    message: All of the VMI's DVs are bound and ready
    reason: AllDVsReady
    status: "True"
    type: DataVolumesReady
  - lastProbeTime: null
    lastTransitionTime: null
    status: "True"
    type: LiveMigratable
  - lastProbeTime: null
    lastTransitionTime: null
    status: "True"
    type: StorageLiveMigratable
  currentCPUTopology:
    cores: 1
    sockets: 1
    threads: 1
  guestOSInfo: {}
  interfaces:
  - infoSource: domain
    ipAddress: 10.128.1.243
    ipAddresses:
    - 10.128.1.243
    - fd02:0:0:1::8ad
    linkState: up
    mac: 0a:58:0a:82:00:ed
    name: default
    podInterfaceName: eth0
    queueCount: 1
  launcherContainerImageVersion: registry.redhat.io/container-native-virtualization/virt-launcher-rhel9@sha256:dd588a7c787bd7a1cea015798290de04a8d5035a0a0b8d90072965afe3268c6c
  machine:
    type: pc-q35-rhel9.6.0
  memory:
    guestAtBoot: 64M
    guestCurrent: 62500Ki
    guestRequested: 64M
  migrationMethod: LiveMigration
  migrationState:
    completed: true
    endTimestamp: "2025-10-29T13:27:01Z"
    migrationConfiguration:
      allowAutoConverge: false
      allowPostCopy: false
      allowWorkloadDisruption: false
      bandwidthPerMigration: "0"
      completionTimeoutPerGiB: 150
      nodeDrainTaintKey: kubevirt.io/drain
      parallelMigrationsPerCluster: 5
      parallelOutboundMigrationsPerNode: 2
      progressTimeout: 150
      unsafeMigrationOverride: false
    migrationUid: 5d41c943-d7f8-4ca8-8d4b-1053d1588d86
    mode: PreCopy
    sourceNode: cnvqe-070.lab.eng.tlv2.redhat.com
    sourcePod: virt-launcher-vm-snapshot-upgrade-a-1761741897-5416875-v5qj8
    startTimestamp: "2025-10-29T13:26:59Z"
    targetDirectMigrationNodePorts:
      "35465": 0
      "45909": 49152
    targetNode: cnvqe-071.lab.eng.tlv2.redhat.com
    targetNodeAddress: 10.128.1.229
    targetNodeDomainDetected: true
    targetNodeDomainReadyTimestamp: "2025-10-29T13:27:01Z"
    targetPod: virt-launcher-vm-snapshot-upgrade-a-1761741897-5416875-xvgjs
  migrationTransport: Unix
  nodeName: cnvqe-071.lab.eng.tlv2.redhat.com
  phase: Running
  phaseTransitionTimestamps:
  - phase: Pending
    phaseTransitionTimestamp: "2025-10-29T12:48:29Z"
  - phase: Scheduling
    phaseTransitionTimestamp: "2025-10-29T12:48:29Z"
  - phase: Scheduled
    phaseTransitionTimestamp: "2025-10-29T12:48:36Z"
  - phase: Running
    phaseTransitionTimestamp: "2025-10-29T12:48:38Z"
  qosClass: Burstable
  runtimeUser: 107
  selinuxContext: system_u:object_r:container_file_t:s0:c277,c584
  virtualMachineRevisionName: revision-start-vm-bd518a58-34f3-4128-84ed-f207d84a6eb9-6
  volumeStatus:
  - name: dv-disk
    persistentVolumeClaimInfo:
      accessModes:
      - ReadWriteMany
      capacity:
        storage: 1Gi
      claimName: restore-c4b40dee-1de2-417c-af84-4446cb196954-dv-disk
      filesystemOverhead: "0"
      requests:
        storage: "1073741824"
      volumeMode: Block
    target: vda
