Re: [Qemu-devel] [PATCH 1/2] Add glib support to main loop

2011-09-01 Thread Anthony Liguori
On 08/22/2011 08:12 AM, Anthony Liguori wrote: This allows GSources to be used to register callback events in QEMU. This is useful as it allows us to take greater advantage of glib and also because it allows us to write code that is more easily testable outside of QEMU since we can make use of g

[Qemu-devel] [PATCH 1/2] Add glib support to main loop

2011-08-22 Thread Anthony Liguori
This allows GSources to be used to register callback events in QEMU. This is useful as it allows us to take greater advantage of glib and also because it allows us to write code that is more easily testable outside of QEMU since we can make use of glib's main loop in unit tests. All new code shou