Skip to content

Commit

Permalink
qemu: expose RDTSCP to guests
Browse files Browse the repository at this point in the history
Adds a patch to resolve
https://gitlab.com/qemu-project/qemu/-/issues/1011

Closes #100645.

Signed-off-by: Silvio Moioli <silvio@moioli.net>
Signed-off-by: FX Coudert <fxcoudert@gmail.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
  • Loading branch information
moio authored and BrewTestBot committed Jul 18, 2022
1 parent d4ed75d commit 4b6746a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Formula/qemu.rb
Expand Up @@ -51,6 +51,13 @@ class Qemu < Formula
sha256 "81237c7b42dc0ffc8b32a2f5734e3480a3f9a470c50c14a9c4576a2561a35807"
end

# Fixes RDTSCP not being exposed to hosts
# See https://gitlab.com/qemu-project/qemu/-/issues/1011
patch do
url "https://gitlab.com/qemu-project/qemu/-/commit/d8cf2c29cc1077cd8f8ab0580b285bff92f09d1c.diff"
sha256 "b7c0db81e136fb3b9692e56f4c95abbcbd196dc0b7feb517241dda20d9ec3166"
end

def install
ENV["LIBTOOL"] = "glibtool"

Expand Down

0 comments on commit 4b6746a

Please sign in to comment.