mirror of
https://github.com/kholia/OSX-KVM.git
synced 2026-04-21 06:03:55 +00:00
add instructions to fix OVMF_*4M compat with libvirt
This commit is contained in:
parent
1e3ec55036
commit
3ab4d9513e
1 changed files with 10 additions and 1 deletions
11
README.md
11
README.md
|
|
@ -194,6 +194,14 @@ processors work just fine (even for macOS Sonoma).
|
|||
|
||||
- (OPTIONAL) Use this macOS VM disk with libvirt (virt-manager / virsh stuff).
|
||||
|
||||
- Move OVMF code and vars files to `$XDG_CONFIG_HOME/libvirt/qemu/nvram` and rename var store as necessary
|
||||
for your resolution
|
||||
```
|
||||
cp OVMF_VARS-<your desired resolution>.fd OVMF_VARS.4m.fd
|
||||
cp OVMF_CODE_4M.fd "${XDG_CONFIG_HOME}/libvirt/qemu/nvram"
|
||||
cp OVMF_VARS.4m.fd "${XDG_CONFIG_HOME}/libvirt/qemu/nvram"
|
||||
```
|
||||
|
||||
- Edit `macOS-libvirt-Catalina.xml` file and change the various file paths (search
|
||||
for `CHANGEME` strings in that file). The following command should do the
|
||||
trick usually.
|
||||
|
|
@ -210,7 +218,8 @@ processors work just fine (even for macOS Sonoma).
|
|||
virsh --connect qemu:///system define macOS.xml
|
||||
```
|
||||
|
||||
- If needed, grant necessary permissions to libvirt-qemu user,
|
||||
- If needed, grant necessary permissions to libvirt-qemu user
|
||||
(ignore spurious "invalid argument near character 3" error if encountered),
|
||||
|
||||
```
|
||||
sudo setfacl -m u:libvirt-qemu:rx /home/$USER
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue