foxlet / macOS-Simple-KVM

Tools to set up a quick macOS VM in QEMU, accelerated by KVM.
13.58k stars 1.14k forks source link

How to use my intel graphics card in vm? #518

Closed cathaysia closed 2 years ago

cathaysia commented 2 years ago

I using gvt-g created some virtual intel graphics card, and modify vm's xml:

<hostdev mode="subsystem" type="mdev" managed="no" model="vfio-pci" display="off">
  <source>
    <address uuid="97709d2e-39ff-11ec-bf01-54b203028f37"/>
  </source>
  <alias name="hostdev0"/>
  <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
</hostdev>

and macos can find this card:

But it not works.

UHD 630 card driver should be in bigSur, how do I use it?

notAperson535 commented 2 years ago

@cathaysia I do not think you can not use integrated graphics, I think because the host machine needs a graphics card. Sorry if this does not help. I think this person has a similar problem foxlet/macOS-Simple-KVM#510

cathaysia commented 2 years ago

Thanks for reply. I am no long using macos in vm. But thanks still.