diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2014-02-17 14:45:55 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-02-19 15:43:54 +0100 |
commit | 98f9e35befe5c11e3da448cbe015969ed91730a4 (patch) | |
tree | 913ade487995a2f05fd065970ca13f21cd0f59b9 /tests/libqtest.c | |
parent | 46eef33b89e936ca793e13c4aeea1414e97e8dbb (diff) | |
download | qemu-98f9e35befe5c11e3da448cbe015969ed91730a4.zip qemu-98f9e35befe5c11e3da448cbe015969ed91730a4.tar.gz qemu-98f9e35befe5c11e3da448cbe015969ed91730a4.tar.bz2 |
qtest: drop unused child_pid field
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'tests/libqtest.c')
-rw-r--r-- | tests/libqtest.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/libqtest.c b/tests/libqtest.c index c9a4f89..2876ce4 100644 --- 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; } |