From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49116) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoK0g-0001yK-3M for qemu-devel@nongnu.org; Mon, 19 Oct 2015 19:38:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZoK0c-000208-VH for qemu-devel@nongnu.org; Mon, 19 Oct 2015 19:38:34 -0400 Received: from e19.ny.us.ibm.com ([129.33.205.209]:55879) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoK0c-0001zp-RL for qemu-devel@nongnu.org; Mon, 19 Oct 2015 19:38:30 -0400 Received: from localhost by e19.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 19 Oct 2015 19:38:30 -0400 Received: from b01cxnp23032.gho.pok.ibm.com (b01cxnp23032.gho.pok.ibm.com [9.57.198.27]) by d01dlp03.pok.ibm.com (Postfix) with ESMTP id EC3D1C90041 for ; Mon, 19 Oct 2015 19:26:39 -0400 (EDT) Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by b01cxnp23032.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t9JNcSIM50724994 for ; Mon, 19 Oct 2015 23:38:28 GMT Received: from d01av04.pok.ibm.com (localhost [127.0.0.1]) by d01av04.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t9JNcSLe021927 for ; Mon, 19 Oct 2015 19:38:28 -0400 From: Michael Roth Date: Mon, 19 Oct 2015 18:38:05 -0500 Message-Id: <1445297899-20527-1-git-send-email-mdroth@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PULL v4 00/14] qemu-ga patch queue List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org Hi Peter, Please note that 'glib-compat: add 2.38/2.40/2.46 asserts' is also in Marc-André's recent ivshmem PULL. The 2 versions of the patches are identical, but let me know if you'd prefer a re-send/re-base later. The following changes since commit 26c7be842637ee65a79cd77f96a99c23ddcd90ad: Merge remote-tracking branch 'remotes/sstabellini/tags/2015-10-19-tag' into staging (2015-10-19 12:13:27 +0100) are available in the git repository at: git://github.com/mdroth/qemu.git tags/qga-pull-2015-10-14-v4-tag for you to fetch changes up to e853ea1cc68716c3d9c22d04578020c6dd743306: qga: fix uninitialized value warning for win32 (2015-10-19 18:31:54 -0500) ---------------------------------------------------------------- qemu-ga patch queue * add unit tests for qemu-ga * add guest-exec support for posix/w32 guests * added 'qemu-ga' target for w32. this allows us to do full MSI build, without overloading 'qemu-ga.exe' target with uneeded dependencies. * number of s/g_new/g_malloc/ conversions for qga v2: * commit message and qapi documentation spelling fixes * rename 'inp-data' guest-exec param to 'input-data' v3: * fix OSX build errors for test-qga by using PRId64 format in place of glib's, and dropping use of G_SPAWN_DEFAULT macro for glib 2.22 compat * fix win32 build warnings for 32-bit builds by avoid int casts of process HANDLEs v4: * assert connect_qga() doesn't fail * only enable test-qga for linux hosts * allow get-memory-block-info* to fail if memory blocks aren't exposed in sysfs ---------------------------------------------------------------- Denis V. Lunev (2): qga: drop guest_file_init helper and replace it with static initializers qga: handle possible SIGPIPE in guest-file-write Marc-André Lureau (5): qga: add QGA_CONF environment variable qga: do not override configuration verbosity qtest: add a few fd-level qmp helpers glib-compat: add 2.38/2.40/2.46 asserts tests: add a local test for guest agent Markus Armbruster (1): qga: Use g_new() & friends where that makes obvious sense Michael Roth (3): build: qemu-ga: add 'qemu-ga' build target for w32 qga: guest-get-memory-blocks shouldn't fail for unexposed memory blocks qga: fix uninitialized value warning for win32 Yuri Pudgorodskiy (3): qga: guest exec functionality qga: handle G_IO_STATUS_AGAIN in ga_channel_write_all() qga: guest-exec simple stdin/stdout/stderr redirection Makefile | 14 +- configure | 2 +- include/glib-compat.h | 61 ++++ qga/channel-posix.c | 25 +- qga/channel-win32.c | 4 +- qga/commands-posix.c | 30 +- qga/commands-win32.c | 20 +- qga/commands.c | 394 +++++++++++++++++++- qga/guest-agent-command-state.c | 4 +- qga/main.c | 13 +- qga/qapi-schema.json | 67 ++++ tests/Makefile | 3 + tests/libqtest.c | 45 ++- tests/libqtest.h | 7 + tests/test-qga.c | 783 ++++++++++++++++++++++++++++++++++++++++ 15 files changed, 1412 insertions(+), 60 deletions(-) create mode 100644 tests/test-qga.c