[PATCH] qemu_agent: remove unused code