projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46eef33
)
qtest: drop unused child_pid field
author
Stefan Hajnoczi
<stefanha@redhat.com>
Mon, 17 Feb 2014 13:45:55 +0000
(14:45 +0100)
committer
Stefan Hajnoczi
<stefanha@redhat.com>
Wed, 19 Feb 2014 14:43:54 +0000
(15:43 +0100)
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
tests/libqtest.c
patch
|
blob
|
history
diff --git
a/tests/libqtest.c
b/tests/libqtest.c
index c9a4f89451e169b6a783fc14fda2921fda248a82..2876ce47d8b52c30f17b65c67fd91a54fa14f6ed 100644
(file)
--- a/
tests/libqtest.c
+++ b/
tests/libqtest.c
@@
-43,7
+43,6
@@
struct QTestState
int qmp_fd;
bool irq_level[MAX_IRQ];
GString *rx;
- int child_pid; /* Child process created to execute QEMU */
pid_t qemu_pid; /* QEMU process spawned by our child */
};
@@
-152,7
+151,6
@@
QTestState *qtest_init(const char *extra_args)
g_free(qmp_socket_path);
s->rx = g_string_new("");
- s->child_pid = pid;
for (i = 0; i < MAX_IRQ; i++) {
s->irq_level[i] = false;
}