我已经使用qemu cli创建了macOS虚拟机,到目前为止,一切似乎都运行良好。我的挑战是立即将其转换为libvirt xml。
我正在尝试使用此命令:virsh domxml-from-native qemu-argv
,但没有其他信息error: this function is not supported by the connection driver: virConnectDomainXMLFromNative
,但出现以下错误:>
这是我的cli命令,我正在使用Fedora 31
qemu-system-x86_64 -enable-kvm -m 16G \ -cpu Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+aes,+xsave,+avx,+xsaveopt,avx2,+smep \ -boot order=c \ -machine pc-q35-2.9 \ -smp 16,sockets=1,cores=8,threads=2 \ -usb -device usb-kbd -device usb-tablet \ -device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" \ -drive if=pflash,format=raw,readonly,file=OVMF_CODE.fd \ -drive if=pflash,format=raw,file=OVMF_VARS-3440x1440.fd \ -smbios type=2 \ -device ich9-intel-hda -device hda-duplex \ -device ide-drive,bus=ide.0,drive=Clover \ -drive id=Clover,if=none,snapshot=on,format=qcow2,file=./'HighSierra/Clover.qcow2' \ -device ide-drive,bus=ide.1,drive=MacHDD \ -drive id=MacHDD,if=none,file=/dev/disk/by-id/ata-SanDisk_SDSSDA120G_163757447010,format=raw \ -nic user,model=e1000-82545em \ -device vfio-pci,host=08:00.0,multifunction=on \ -device vfio-pci,host=08:00.1 \ -rtc clock=host,base=localtime \ -vga none \ -nographic \ -serial none \ -parallel none \ -usb \ -device usb-host,hostbus=5,hostport=4 \ -device usb-host,hostbus=5,hostport=4.1 \ -device usb-host,hostbus=5,hostport=4.2 \ -device usb-host,hostbus=5,hostport=4.3 \ -device usb-host,hostbus=5,hostport=4.4
我不知道从哪里开始,几乎没有此功能的文档
我已经使用qemu cli创建了macOS虚拟机,到目前为止,一切似乎都运行良好。我的挑战是立即将其转换为libvirt xml。我正在尝试使用以下命令:virsh domxml-from -...
[不幸的是,从最近的libvirt中删除了对domxml-from-native
命令的支持,因为我们发现实际上它太不可靠和不完整,无法使用。