Displaying 14 results from an estimated 14 matches for "main_loop_wait".
2006 Sep 26
7
about hot plug issue
...in an extremely condition, like
creating 12 VMX domains and 4 XENU domains at the same
time, sometimes we still can meet this bug. Attached is a
demo script to start many domains. So we just wonder changing
the timout value could not resolve this issue completely.
At the same time, we found when main_loop_wait is increased to
100 ms, windows guest''s keyboard and mouse response is
significantly slower.
Ping
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2007 Jan 29
3
weird hvm performance issue.
(I posted this on xen-users last week, and nobody seemed to know what was
up. It is time, I suppose then, to dust off the debugger; I was hoping
one of you could point me in the correct direction to begin
troubleshooting this.)
I''m HVM booting our install-disks (systemimager) here, and I''m spotting some
weird performance issues. Our install uses rsync and prints every
2008 Jan 18
0
[PATCH] nicely terminate the device model script
...9 +648,14 @@ int main_loop(void)
xenstore_record_dm_state("running");
while (1) {
- while (!(vm_running && suspend_requested))
+ while (!((vm_running && suspend_requested) || shutdown_requested))
/* Wait up to 10 msec. */
main_loop_wait(10);
+
+ if (shutdown_requested) {
+ ret = EXCP_INTERRUPT;
+ break;
+ }
fprintf(logfile, "device model saving state\n");
@@ -676,7 +682,7 @@ int main_loop(void)
xenstore_record_dm_state("running");
}
- return 0;...
2017 Nov 15
3
Effect of qemu-img convert -m and -W options
[CC to qemu-devel since I'm obviously doing something wrong here,
I'm just not sure what.]
I was getting ready to add multiple threads to ‘qemu-img convert’ (the
longest part of v2v conversions) when I noticed that it had them
already! (To be fair this was only added in February this year so no
wonder we didn't notice.)
To enable parallel convert we would need to use the ‘qemu-img
2017 Nov 16
0
Re: [Qemu-devel] Effect of qemu-img convert -m and -W options
...st one main loop
thread in qemu-img.c:convert_do_copy():
for (i = 0; i < s->num_coroutines; i++) {
s->co[i] = qemu_coroutine_create(convert_co_do_copy, s);
s->wait_sector_num[i] = -1;
qemu_coroutine_enter(s->co[i]);
}
while (s->running_coroutines) {
main_loop_wait(false);
}
>
> I did some testing to see what effect this has. For this I used a
> large guest image which is approximately a third full of random data
> (the rest being sparsely allocated):
>
> Source format: raw
> Source virtual size: 100 GB
> Source used...
2007 Dec 21
2
[Virtio-for-kvm] [PATCH 7/7] userspace virtio
...nt(vlan, tap_receive, NULL, s);
- qemu_set_fd_handler(s->fd, tap_send, NULL, s);
+ qemu_set_fd_handler2(s->fd, tap_read_poll, tap_send, NULL, s);
snprintf(s->vc->info_str, sizeof(s->vc->info_str), "tap: fd=%d", fd);
return s;
}
@@ -7717,6 +7736,8 @@ void main_loop_wait(int timeout)
slirp_select_poll(&rfds, &wfds, &xfds);
}
#endif
+ virtio_net_poll();
+
qemu_aio_poll();
if (vm_running) {
--
1.5.3.3
2007 Dec 21
2
[Virtio-for-kvm] [PATCH 7/7] userspace virtio
...nt(vlan, tap_receive, NULL, s);
- qemu_set_fd_handler(s->fd, tap_send, NULL, s);
+ qemu_set_fd_handler2(s->fd, tap_read_poll, tap_send, NULL, s);
snprintf(s->vc->info_str, sizeof(s->vc->info_str), "tap: fd=%d", fd);
return s;
}
@@ -7717,6 +7736,8 @@ void main_loop_wait(int timeout)
slirp_select_poll(&rfds, &wfds, &xfds);
}
#endif
+ virtio_net_poll();
+
qemu_aio_poll();
if (vm_running) {
--
1.5.3.3
2013 Nov 25
0
QEMU dies on any attempt to load a Linux kernel module when using a 9P rootfs
...eue_host_notifier_read (n=0x1b23790)
> at /usr/src/debug/app-emulation/qemu-9999/qemu-9999/hw/virtio/virtio.c:1116
> #5 0x00000000005d3c9c in qemu_iohandler_poll (pollfds=0x1aae200, ret=1)
> at /usr/src/debug/app-emulation/qemu-9999/qemu-9999/iohandler.c:143
> #6 0x00000000005d4702 in main_loop_wait (nonblocking=0) at
> /usr/src/debug/app-emulation/qemu-9999/qemu-9999/main-loop.c:484
> #7 0x000000000066c583 in main_loop () at
> /usr/src/debug/app-emulation/qemu-9999/qemu-9999/vl.c:2014
> #8 0x00000000006730d1 in main (argc=17, argv=0x7fffa93167c8,
> envp=0x7fffa9316858) at
>...
2017 Nov 16
2
Re: [Qemu-devel] Effect of qemu-img convert -m and -W options
...opy():
>
> for (i = 0; i < s->num_coroutines; i++) {
> s->co[i] = qemu_coroutine_create(convert_co_do_copy, s);
> s->wait_sector_num[i] = -1;
> qemu_coroutine_enter(s->co[i]);
> }
>
> while (s->running_coroutines) {
> main_loop_wait(false);
> }
>
>> I did some testing to see what effect this has. For this I used a
>> large guest image which is approximately a third full of random data
>> (the rest being sparsely allocated):
>>
>> Source format: raw
>> Source virtual siz...
2013 Mar 13
16
frequently ballooning results in qemu exit
...le_ioreq (opaque=0x7f94fb39d3f0) at /opt/new/tools/qemu-xen-dir/xen-all.c:868
#7 0x00007f94fa5e3262 in qemu_iohandler_poll (readfds=0x7f94faeea7a0 <rfds>, writefds=0x7f94faeea820 <wfds>, xfds=<optimized out>, ret=<optimized out>) at iohandler.c:125
#8 0x00007f94fa5ec51d in main_loop_wait (nonblocking=<optimized out>) at main-loop.c:418
#9 0x00007f94fa6616dc in main_loop () at vl.c:1770
#10 main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at vl.c:3999
It looks mapcache has something wrong because memcpy failed with the address from ma...
2013 Nov 25
6
QEMU dies on any attempt to load a Linux kernel module when using a 9P rootfs
...06edf65 in virtio_queue_host_notifier_read (n=0x1b23790)
at /usr/src/debug/app-emulation/qemu-9999/qemu-9999/hw/virtio/virtio.c:1116
#5 0x00000000005d3c9c in qemu_iohandler_poll (pollfds=0x1aae200, ret=1)
at /usr/src/debug/app-emulation/qemu-9999/qemu-9999/iohandler.c:143
#6 0x00000000005d4702 in main_loop_wait (nonblocking=0) at
/usr/src/debug/app-emulation/qemu-9999/qemu-9999/main-loop.c:484
#7 0x000000000066c583 in main_loop () at
/usr/src/debug/app-emulation/qemu-9999/qemu-9999/vl.c:2014
#8 0x00000000006730d1 in main (argc=17, argv=0x7fffa93167c8,
envp=0x7fffa9316858) at
/usr/src/debug/app-emulation...
2013 Nov 25
6
QEMU dies on any attempt to load a Linux kernel module when using a 9P rootfs
...06edf65 in virtio_queue_host_notifier_read (n=0x1b23790)
at /usr/src/debug/app-emulation/qemu-9999/qemu-9999/hw/virtio/virtio.c:1116
#5 0x00000000005d3c9c in qemu_iohandler_poll (pollfds=0x1aae200, ret=1)
at /usr/src/debug/app-emulation/qemu-9999/qemu-9999/iohandler.c:143
#6 0x00000000005d4702 in main_loop_wait (nonblocking=0) at
/usr/src/debug/app-emulation/qemu-9999/qemu-9999/main-loop.c:484
#7 0x000000000066c583 in main_loop () at
/usr/src/debug/app-emulation/qemu-9999/qemu-9999/vl.c:2014
#8 0x00000000006730d1 in main (argc=17, argv=0x7fffa93167c8,
envp=0x7fffa9316858) at
/usr/src/debug/app-emulation...
2008 Mar 10
12
[RFC][PATCH] Use ioemu block drivers through blktap
When I submitted the qcow2 patch for blktap, suggestions came up that
the qemu block drivers should be used also for blktap to eliminate the
current code duplication in ioemu and blktap.
The attached patch adds support for a tap:ioemu pseudo driver. Devices
using this driver won''t use tapdisk (containing the code duplication)
any more, but will connect to the qemu-dm of the domain. In
2006 Jul 18
33
Paravirtualised drivers for fully virtualised domains
(The list appears to have eaten my previous attempt to send this.
Apologies if you receive multiple copies.)
The attached patches allow you to use paravirtualised network and
block interfaces from fully virtualised domains, based on Intel''s
patches from a few months ago. These are significantly faster than
the equivalent ioemu devices, sometimes by more than an order of
magnitude.