Minor changes

master
yurialek 5 years ago
parent 3524496d59
commit 38f74f17c5

@ -4,6 +4,29 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## 2019/01/29
Minor changes in the scripts and new pages in the wiki.
### Added
- [Wiki](https://gitlab.com/YuriAlek/vfio/wikis/home)
- [Edit config and config](https://gitlab.com/YuriAlek/vfio/wikis/Edit-the-config)
- [Edit config and script](https://gitlab.com/YuriAlek/vfio/wikis/Edit-the-scripts)
- [Troubleshoot](https://gitlab.com/YuriAlek/vfio/wikis/Troubleshoot)
- [Windows](https://gitlab.com/YuriAlek/vfio/wikis/Windows)
### Changed
- [Wiki](https://gitlab.com/YuriAlek/vfio/wikis/home)
- [Home](https://gitlab.com/YuriAlek/vfio/wikis/Home)
- [Use](https://gitlab.com/YuriAlek/vfio/wikis/Use)
- [scritps](/scripts)
- [config](/scripts/config)
- [macos.sh](/scripts/macos.sh)
- [macos-basic.sh](/scripts/macos-basic.sh)
- [macos-network.sh](/scripts/macos-network.sh)
- [macos-virsh.sh](/scripts/macos-virsh.sh)
- [windows.sh](/scripts/windows.sh)
- [windows-basic.sh](/scripts/windows-basic.sh)
- [windows-network.sh](/scripts/windows-network.sh)
- [windows-virsh.sh](/scripts/windows-virsh.sh)
## 2019/01/02
### Changed
- [scritps](/scripts)
@ -22,10 +45,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## 2018/12/30
### Added
- [Wiki](https://gitlab.com/YuriAlek/vfio/wikis/home)
- [Edit config and script](https://gitlab.com/YuriAlek/vfio/wikis/Edit-config-and-script)
- [Home](https://gitlab.com/YuriAlek/vfio/wikis/Home)
- [Install](https://gitlab.com/YuriAlek/vfio/wikis/Install)
- [Troubleshoot](https://gitlab.com/YuriAlek/vfio/wikis/Troubleshoot)
- [Use](https://gitlab.com/YuriAlek/vfio/wikis/Use)
- [vbios](https://gitlab.com/YuriAlek/vfio/wikis/vbios)
- [scritps](/scripts)

@ -1,15 +1,15 @@
## User
VM_USER=
## For extracting the VBIOS
VBIOS_EXTRACT_PATH=/root/VBIOS.rom
NVFLASH=/root/nvflash_linux
extract_videobusid="0000:"
## IOMMU groups
IOMMU_GPU=""
IOMMU_GPU_AUDIO=""
## For extracting the VBIOS
VBIOS_EXTRACT_PATH=/root/VBIOS.rom
NVFLASH=/root/nvflash_linux
extract_videobusid="0000:$IOMMU_GPU"
## Virsh devices
VIRSH_GPU=pci_0000_
VIRSH_GPU_AUDIO=pci_0000_
@ -38,19 +38,19 @@ LOG=/home/$VM_USER/qemu_log.txt
## Local path for storage
IMAGES=/home/$VM_USER/
## Windows and MacOS
## VBIOS
VBIOS=$IMAGES/VBIOS.rom
OVMF=/usr/share/ovmf/x64/OVMF_CODE.fd
OVMF_VARS=/usr/share/ovmf/x64/OVMF_VARS.fd
## Windows
VIRTIO=$IMAGES/virtio.iso
WINDOWS_ISO=$IMAGES/win10.iso
WINDOWS_IMG=$IMAGES/windows.raw
WINDOWS_IMG=$IMAGES/windows.qcow2
OVMF=/usr/share/ovmf/x64/OVMF_CODE.fd
OVMF_VARS=/usr/share/ovmf/x64/OVMF_VARS.fd
## MacOS
MACOS_ISO=$IMAGES/mojave.iso
MACOS_IMG=$IMAGES/mojave.raw
MACOS_IMG=$IMAGES/mojave.qcow2
MACOS_CLOVER=$IMAGES/clover.qcow2
MACOS_OVMF=$IMAGES/MACOS_OVMF_CODE.fd
MACOS_OVMF_VARS=$IMAGES/MACOS_OVMF_VARS.fd

@ -60,7 +60,7 @@ qemu-system-x86_64 -runas $VM_USER -enable-kvm \
-device ide-drive,bus=ide.0,drive=ISO \
-drive id=ISO,if=none,snapshot=on,media=cdrom,file=$MACOS_ISO \
-device ide-drive,bus=ide.1,drive=HDD \
-drive id=HDD,file=$MACOS_IMG,media=disk,format=raw,if=none >> $LOG 2>&1 &
-drive id=HDD,file=$MACOS_IMG,media=disk,format=qcow2,if=none >> $LOG 2>&1 &
# Wait for QEMU
wait

@ -104,7 +104,7 @@ qemu-system-x86_64 -runas $VM_USER -enable-kvm \
-device ide-drive,bus=ide.0,drive=ISO \
-drive id=ISO,if=none,snapshot=on,media=cdrom,file=$MACOS_ISO \
-device ide-drive,bus=ide.1,drive=HDD \
-drive id=HDD,file=$MACOS_IMG,media=disk,format=raw,if=none >> $LOG 2>&1 &
-drive id=HDD,file=$MACOS_IMG,media=disk,format=qcow2,if=none >> $LOG 2>&1 &
## Wait for QEMU
wait

@ -50,7 +50,7 @@ qemu-system-x86_64 -runas $VM_USER -enable-kvm \
-device ide-drive,bus=ide.0,drive=ISO \
-drive id=ISO,if=none,snapshot=on,media=cdrom,file=$MACOS_ISO \
-device ide-drive,bus=ide.1,drive=HDD \
-drive id=HDD,file=$MACOS_IMG,media=disk,format=raw,if=none >> $LOG 2>&1 &
-drive id=HDD,file=$MACOS_IMG,media=disk,format=qcow2,if=none >> $LOG 2>&1 &
## Wait for QEMU
wait

@ -97,7 +97,7 @@ qemu-system-x86_64 -runas $VM_USER -enable-kvm \
-device ide-drive,bus=ide.0,drive=ISO \
-drive id=ISO,if=none,snapshot=on,media=cdrom,file=$MACOS_ISO \
-device ide-drive,bus=ide.1,drive=HDD \
-drive id=HDD,file=$MACOS_IMG,media=disk,format=raw,if=none >> $LOG 2>&1 &
-drive id=HDD,file=$MACOS_IMG,media=disk,format=qcow2,if=none >> $LOG 2>&1 &
## Wait for QEMU
wait

@ -57,7 +57,7 @@ qemu-system-x86_64 -runas $VM_USER -enable-kvm \
-device ide-cd,bus=ide.1,drive=cd2 \
-device virtio-scsi-pci,id=scsi0 \
-device scsi-hd,bus=scsi0.0,drive=rootfs \
-drive id=rootfs,file=$WINDOWS_IMG,media=disk,format=raw,if=none >> $LOG 2>&1 &
-drive id=rootfs,file=$WINDOWS_IMG,media=disk,format=qcow2,if=none >> $LOG 2>&1 &
# Wait for QEMU
wait

@ -101,7 +101,7 @@ qemu-system-x86_64 -runas $VM_USER -enable-kvm \
-device ide-cd,bus=ide.1,drive=cd2 \
-device virtio-scsi-pci,id=scsi0 \
-device scsi-hd,bus=scsi0.0,drive=rootfs \
-drive id=rootfs,file=$WINDOWS_IMG,media=disk,format=raw,if=none >> $LOG 2>&1 &
-drive id=rootfs,file=$WINDOWS_IMG,media=disk,format=qcow2,if=none >> $LOG 2>&1 &
## Wait for QEMU
wait

@ -47,7 +47,7 @@ qemu-system-x86_64 -runas $VM_USER -enable-kvm \
-device ide-cd,bus=ide.1,drive=cd2 \
-device virtio-scsi-pci,id=scsi0 \
-device scsi-hd,bus=scsi0.0,drive=rootfs \
-drive id=rootfs,file=$WINDOWS_IMG,media=disk,format=raw,if=none >> $LOG 2>&1 &
-drive id=rootfs,file=$WINDOWS_IMG,media=disk,format=qcow2,if=none >> $LOG 2>&1 &
## Wait for QEMU
wait

@ -91,7 +91,7 @@ qemu-system-x86_64 -runas $VM_USER -enable-kvm \
-device ide-cd,bus=ide.1,drive=cd2 \
-device virtio-scsi-pci,id=scsi0 \
-device scsi-hd,bus=scsi0.0,drive=rootfs \
-drive id=rootfs,file=$WINDOWS_IMG,media=disk,format=raw,if=none >> $LOG 2>&1 &
-drive id=rootfs,file=$WINDOWS_IMG,media=disk,format=qcow2,if=none >> $LOG 2>&1 &
## Wait for QEMU
wait

Loading…
Cancel
Save