main_loop: do not set nonblocking if xen_enabled()

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
CC: qemu-stable@nongnu.org
This commit is contained in:
Stefano Stabellini 2013-06-03 15:38:43 +00:00
parent 49fa9881b2
commit a7d4207d37

2
vl.c
View File

@ -2022,7 +2022,7 @@ static void main_loop(void)
int64_t ti;
#endif
do {
nonblocking = !kvm_enabled() && last_io > 0;
nonblocking = !kvm_enabled() && !xen_enabled() && last_io > 0;
#ifdef CONFIG_PROFILER
ti = profile_getclock();
#endif