====== QEMU/KVM/libvirt over Hyper-V ====== {{tag>qemu-kvm libvirt hyperv centos7}} ===== Hyper-VでNested Virtualizationを有効にする ===== PowerShellからVMの設定を変更することで可能。 Set-VMProcessor -VMName -ExposeVirtualizationExtensions $true 参考: https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/nested-virtualization ===== CentOS 7での動作検証 ===== 下記の構成で動作を確認。 | L2ゲスト | CentOS 7.9 | | L1ハイパーバイザ | qemu-kvm 1.5.3 | | L1ゲスト | CentOS 7.9 | | L0ハイパーバイザ | Hyper-V (Windows 10 21H2) | ''virt-host-validate''でのWARN/FAIL QEMU: Checking for device assignment IOMMU support : WARN (No ACPI DMAR table found, IOMMU either disabled in BIOS or not supported by this hardware platform) LXC: Checking if device /sys/fs/fuse/connections exists : FAIL (Load the 'fuse' module to enable /proc/ overrides) === 制限 === * L2ゲストのCentOS 7に/dev/ptp0が作成されないので、仮想PTPハードウェアクロックが使用できない。