Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Update
kvm.853
kvm-qemu-preXX-kvm-Mark-VCPU-state-dirty-on-cre...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kvm-qemu-preXX-kvm-Mark-VCPU-state-dirty-on-creation.patch of Package kvm.853
From d841b6c4f16c3fc7afe2ce355e7e42813345f053 Mon Sep 17 00:00:00 2001 From: Jan Kiszka <jan.kiszka@siemens.com> Date: Tue, 15 Mar 2011 12:26:20 +0100 Subject: [PATCH] kvm: Mark VCPU state dirty on creation This avoids that early cpu_synchronize_state calls try to retrieve an uninitialized state from the kernel. That even causes a deadlock if io-thread is enabled. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> --- kvm-all.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) Index: qemu-kvm-0.14.0/kvm-all.c =================================================================== --- qemu-kvm-0.14.0.orig/kvm-all.c +++ qemu-kvm-0.14.0/kvm-all.c @@ -224,6 +224,7 @@ int kvm_init_vcpu(CPUState *env) env->kvm_fd = ret; env->kvm_state = s; + env->kvm_vcpu_dirty = 1; mmap_size = kvm_ioctl(s, KVM_GET_VCPU_MMAP_SIZE, 0); if (mmap_size < 0) {
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