Skip to content

Commit

Permalink
cleanups, drop KVM group permissions step
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentkfu committed Sep 19, 2024
1 parent c815390 commit 836695a
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/qemu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Check out repository
uses: actions/checkout@v4

- name: Create guest image
- name: Create guest VM image
uses: ./.github/actions/create-guest-image
with:
distro: ${{ env.DISTRO }}
Expand All @@ -56,13 +56,8 @@ jobs:
uses: ./.github/actions/build-qemu
- name: Create backing file for NVMe device
run: truncate -s 1G nvme0.img
- name: Enable KVM group permissions https://github.blog/changelog/2023-02-23-hardware-accelerated-android-virtualization-on-actions-windows-and-linux-larger-hosted-runners/
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm

- name: Start VM
- name: Start VM and clone/build fio
uses: ./.github/actions/start-vm
with:
image: ${{ env.DISTRO }}.img
Expand Down

0 comments on commit 836695a

Please sign in to comment.