Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
kvm.573
kvm-qemu-preXX-qemu-kvm-Mark-VCPU-state-dirty-o...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kvm-qemu-preXX-qemu-kvm-Mark-VCPU-state-dirty-on-creation.patch of Package kvm.573
From f4de8c1451f2265148ff4d895a27e21c0a8788aa Mon Sep 17 00:00:00 2001 From: Jan Kiszka <jan.kiszka@siemens.com> Date: Mon, 21 Feb 2011 12:28:07 +0100 Subject: [PATCH] qemu-kvm: Mark VCPU state dirty on creation This avoids that early cpu_synchronize_state calls try to retrieve an uninitialized state from the kernel, which even causes a deadlock. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Avi Kivity <avi@redhat.com> --- qemu-kvm.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/qemu-kvm.c b/qemu-kvm.c index 9f764f4..7351332 100644 --- a/qemu-kvm.c +++ b/qemu-kvm.c @@ -259,6 +259,7 @@ static void kvm_create_vcpu(CPUState *env, int id) env->kvm_fd = r; env->kvm_state = kvm_state; + env->kvm_vcpu_dirty = 1; mmap_size = kvm_ioctl(kvm_state, KVM_GET_VCPU_MMAP_SIZE, 0); if (mmap_size < 0) { -- 1.6.0.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor