qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC PATCH v5 12/24] hax: remove BQL lock/unlock


From: Pavel Dovgalyuk
Subject: [Qemu-devel] [RFC PATCH v5 12/24] hax: remove BQL lock/unlock
Date: Tue, 23 Jan 2018 11:54:27 +0300
User-agent: StGit/0.17.1-dirty

BQL now is used only for waiting for IO events.
This patch also removes lock/unlock from hax module.

Signed-off-by: Pavel Dovgalyuk <address@hidden>
---
 target/i386/hax-all.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/target/i386/hax-all.c b/target/i386/hax-all.c
index 934ec4a..54b1fc7 100644
--- a/target/i386/hax-all.c
+++ b/target/i386/hax-all.c
@@ -513,11 +513,9 @@ static int hax_vcpu_hax_exec(CPUArchState *env)
 
         hax_vcpu_interrupt(env);
 
-        qemu_mutex_unlock_iothread();
         cpu_exec_start(cpu);
         hax_ret = hax_vcpu_run(vcpu);
         cpu_exec_end(cpu);
-        qemu_mutex_lock_iothread();
 
         /* Simply continue the vcpu_run if system call interrupted */
         if (hax_ret == -EINTR || hax_ret == -EAGAIN) {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]