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: "2"
    vm.kubevirt.io/flavor: medium
    vm.kubevirt.io/os: windows2k19
    vm.kubevirt.io/workload: server
  creationTimestamp: "2025-10-29T12:33:07Z"
  finalizers:
  - kubevirt.io/virtualMachineControllerFinalize
  - foregroundDeleteVirtualMachine
  generation: 21
  labels:
    debugLogs: "true"
    kubevirt.io/domain: windows-vm-1761741184-1565516
    kubevirt.io/migrationTargetNodeName: cnvqe-072.lab.eng.tlv2.redhat.com
    kubevirt.io/nodeName: cnvqe-072.lab.eng.tlv2.redhat.com
    kubevirt.io/size: medium
    kubevirt.io/vm: windows-vm-1761741184-1565516
  managedFields:
  - apiVersion: kubevirt.io/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:labels:
          f:kubevirt.io/nodeName: {}
      f:status:
        f:guestOSInfo:
          f:id: {}
          f:kernelRelease: {}
          f:kernelVersion: {}
          f:machine: {}
          f:name: {}
          f:prettyName: {}
          f:version: {}
          f:versionId: {}
        f:interfaces: {}
        f:machine:
          .: {}
          f:type: {}
        f:migrationMethod: {}
        f:migrationState:
          f:completed: {}
          f:endTimestamp: {}
          f:mode: {}
          f:startTimestamp: {}
          f:targetDirectMigrationNodePorts:
            .: {}
            f:39719: {}
            f:42583: {}
          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:26:51Z"
  - 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:vm.kubevirt.io/flavor: {}
          f:vm.kubevirt.io/os: {}
          f:vm.kubevirt.io/workload: {}
        f:finalizers:
          .: {}
          v:"kubevirt.io/virtualMachineControllerFinalize": {}
        f:labels:
          .: {}
          f:debugLogs: {}
          f:kubevirt.io/domain: {}
          f:kubevirt.io/migrationTargetNodeName: {}
          f:kubevirt.io/size: {}
          f:kubevirt.io/vm: {}
        f:ownerReferences:
          .: {}
          k:{"uid":"1f6c678f-8bde-411d-8fcb-db69217cde12"}: {}
      f:spec:
        .: {}
        f:architecture: {}
        f:domain:
          .: {}
          f:clock:
            .: {}
            f:timer:
              .: {}
              f:hpet:
                .: {}
                f:present: {}
              f:hyperv: {}
              f:pit:
                .: {}
                f:tickPolicy: {}
              f:rtc:
                .: {}
                f:tickPolicy: {}
            f:utc: {}
          f:cpu:
            .: {}
            f:cores: {}
            f:sockets: {}
            f:threads: {}
          f:devices:
            .: {}
            f:disks: {}
            f:inputs: {}
            f:interfaces: {}
            f:rng: {}
          f:features:
            .: {}
            f:acpi: {}
            f:apic: {}
            f:hyperv:
              .: {}
              f:frequencies: {}
              f:ipi: {}
              f:reenlightenment: {}
              f:relaxed: {}
              f:reset: {}
              f:runtime: {}
              f:spinlocks:
                .: {}
                f:spinlocks: {}
              f:synic: {}
              f:synictimer:
                .: {}
                f:direct: {}
              f:tlbflush: {}
              f:vapic: {}
              f:vpindex: {}
            f:smm: {}
          f:firmware:
            .: {}
            f:bootloader:
              .: {}
              f:efi:
                .: {}
                f:secureBoot: {}
            f:serial: {}
            f:uuid: {}
          f:machine:
            .: {}
            f:type: {}
          f:memory:
            .: {}
            f:guest: {}
          f:resources: {}
        f:networks: {}
        f:terminationGracePeriodSeconds: {}
        f:volumes: {}
      f:status:
        .: {}
        f:activePods:
          .: {}
          f:9b64c6e0-be6d-49ed-a0e4-23993ec4494c: {}
          f:b71a6a99-ebd4-41a2-a479-182055ac1a6e: {}
        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:topologyHints:
          .: {}
          f:tscFrequency: {}
        f:virtualMachineRevisionName: {}
    manager: virt-controller
    operation: Update
    time: "2025-10-29T13:26:52Z"
  name: windows-vm-1761741184-1565516
  namespace: test-upgrade-namespace
  ownerReferences:
  - apiVersion: kubevirt.io/v1
    blockOwnerDeletion: true
    controller: true
    kind: VirtualMachine
    name: windows-vm-1761741184-1565516
    uid: 1f6c678f-8bde-411d-8fcb-db69217cde12
  resourceVersion: "2235235"
  uid: c7b2edb6-d447-4486-9190-83bce510cb7e
spec:
  architecture: amd64
  domain:
    clock:
      timer:
        hpet:
          present: false
        hyperv:
          present: true
        pit:
          present: true
          tickPolicy: delay
        rtc:
          present: true
          tickPolicy: catchup
      utc: {}
    cpu:
      cores: 1
      maxSockets: 4
      model: host-model
      sockets: 1
      threads: 2
    devices:
      disks:
      - disk:
          bus: sata
        name: rootdisk
      inputs:
      - bus: usb
        name: tablet
        type: tablet
      interfaces:
      - macAddress: 02:8b:4c:00:00:04
        masquerade: {}
        model: e1000e
        name: default
      rng: {}
    features:
      acpi:
        enabled: true
      apic:
        enabled: true
      hyperv:
        frequencies:
          enabled: true
        ipi:
          enabled: true
        reenlightenment:
          enabled: true
        relaxed:
          enabled: true
        reset:
          enabled: true
        runtime:
          enabled: true
        spinlocks:
          enabled: true
          spinlocks: 8191
        synic:
          enabled: true
        synictimer:
          direct:
            enabled: true
          enabled: true
        tlbflush:
          enabled: true
        vapic:
          enabled: true
        vpindex:
          enabled: true
      smm:
        enabled: true
    firmware:
      bootloader:
        efi:
          secureBoot: true
      serial: 14aba668-8a3c-4dc6-b39b-ed791b3248c1
      uuid: 833ceb46-4473-5e7c-a76b-8895325e2c56
    machine:
      type: pc-q35-rhel9.6.0
    memory:
      guest: 8Gi
      maxGuest: 32Gi
    resources:
      requests:
        memory: 8Gi
  evictionStrategy: LiveMigrate
  networks:
  - name: default
    pod: {}
  terminationGracePeriodSeconds: 180
  volumes:
  - dataVolume:
      name: windows-vm-1761741184-1565516
    name: rootdisk
status:
  activePods:
    9b64c6e0-be6d-49ed-a0e4-23993ec4494c: cnvqe-072.lab.eng.tlv2.redhat.com
    b71a6a99-ebd4-41a2-a479-182055ac1a6e: cnvqe-070.lab.eng.tlv2.redhat.com
  conditions:
  - lastProbeTime: null
    lastTransitionTime: "2025-10-29T13:26:51Z"
    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
  - lastProbeTime: "2025-10-29T12:33:39Z"
    lastTransitionTime: null
    status: "True"
    type: AgentConnected
  currentCPUTopology:
    cores: 1
    sockets: 1
    threads: 2
  guestOSInfo:
    id: mswindows
    kernelRelease: "17763"
    kernelVersion: "10.0"
    machine: x86_64
    name: Microsoft Windows
    prettyName: Windows Server 2019 Standard
    version: Microsoft Windows Server 2019
    versionId: "2019"
  interfaces:
  - infoSource: domain, guest-agent
    interfaceName: Ethernet
    ipAddress: 10.129.1.229
    ipAddresses:
    - 10.129.1.229
    - fd02:0:0:2::572
    linkState: up
    mac: 02:8b:4c:00:00:04
    name: default
    podInterfaceName: eth0
    queueCount: 1
  - infoSource: guest-agent
    interfaceName: Loopback Pseudo-Interface 1
    ipAddress: 127.0.0.1
    ipAddresses:
    - ::1
    - 127.0.0.1
  launcherContainerImageVersion: registry.redhat.io/container-native-virtualization/virt-launcher-rhel9@sha256:dd588a7c787bd7a1cea015798290de04a8d5035a0a0b8d90072965afe3268c6c
  machine:
    type: pc-q35-rhel9.6.0
  memory:
    guestAtBoot: 8Gi
    guestCurrent: 8Gi
    guestRequested: 8Gi
  migrationMethod: LiveMigration
  migrationState:
    completed: true
    endTimestamp: "2025-10-29T13:26:51Z"
    migrationConfiguration:
      allowAutoConverge: false
      allowPostCopy: false
      allowWorkloadDisruption: false
      bandwidthPerMigration: "0"
      completionTimeoutPerGiB: 150
      nodeDrainTaintKey: kubevirt.io/drain
      parallelMigrationsPerCluster: 5
      parallelOutboundMigrationsPerNode: 2
      progressTimeout: 150
      unsafeMigrationOverride: false
    migrationUid: 6e9e2047-a173-421a-b9d7-c978fe60306f
    mode: PreCopy
    sourceNode: cnvqe-070.lab.eng.tlv2.redhat.com
    sourcePod: virt-launcher-windows-vm-1761741184-1565516-75kw9
    startTimestamp: "2025-10-29T13:26:47Z"
    targetDirectMigrationNodePorts:
      "39719": 0
      "42583": 49152
    targetNode: cnvqe-072.lab.eng.tlv2.redhat.com
    targetNodeAddress: 10.129.1.225
    targetNodeDomainDetected: true
    targetNodeDomainReadyTimestamp: "2025-10-29T13:26:51Z"
    targetPod: virt-launcher-windows-vm-1761741184-1565516-hcx8v
  migrationTransport: Unix
  nodeName: cnvqe-072.lab.eng.tlv2.redhat.com
  phase: Running
  phaseTransitionTimestamps:
  - phase: Pending
    phaseTransitionTimestamp: "2025-10-29T12:33:07Z"
  - phase: Scheduling
    phaseTransitionTimestamp: "2025-10-29T12:33:08Z"
  - phase: Scheduled
    phaseTransitionTimestamp: "2025-10-29T12:33:14Z"
  - phase: Running
    phaseTransitionTimestamp: "2025-10-29T12:33:16Z"
  qosClass: Burstable
  runtimeUser: 107
  selinuxContext: system_u:object_r:container_file_t:s0:c819,c925
  topologyHints:
    tscFrequency: 2095077000
  virtualMachineRevisionName: revision-start-vm-1f6c678f-8bde-411d-8fcb-db69217cde12-2
  volumeStatus:
  - name: rootdisk
    persistentVolumeClaimInfo:
      accessModes:
      - ReadWriteMany
      capacity:
        storage: 70Gi
      claimName: windows-vm-1761741184-1565516
      filesystemOverhead: "0"
      requests:
        storage: "75161927680"
      volumeMode: Block
    target: sda
