diff options
| author | Alexander Potapenko <glider@google.com> | 2024-02-16 15:45:33 +0100 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2024-04-18 06:27:32 +0000 |
| commit | af24b0505c748561efb50f1d03c824d6642f6c0b (patch) | |
| tree | 39f9bc6c2b0b2e559d96bb19f176b230af9afa19 /pkg/csource | |
| parent | bd38b692cfb82df95728b979e5f3572112aa005b (diff) | |
executor: arm64: call KVM_ARM_PREFERRED_TARGET on vmfd instead of cpufd
Diffstat (limited to 'pkg/csource')
| -rw-r--r-- | pkg/csource/generated.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/csource/generated.go b/pkg/csource/generated.go index c983873c8..cf1a1383a 100644 --- a/pkg/csource/generated.go +++ b/pkg/csource/generated.go @@ -8173,7 +8173,7 @@ static volatile long syz_kvm_setup_cpu(volatile long a0, volatile long a1, volat } struct kvm_vcpu_init init; - ioctl(cpufd, KVM_ARM_PREFERRED_TARGET, &init); + ioctl(vmfd, KVM_ARM_PREFERRED_TARGET, &init); init.features[0] = features; ioctl(cpufd, KVM_ARM_VCPU_INIT, &init); |
