[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-discuss] print "hello" on out of box guest?
From: |
A . Non |
Subject: |
[Qemu-discuss] print "hello" on out of box guest? |
Date: |
Tue, 05 Apr 2016 14:17:57 +0200 |
Hello everybody,
found the question from 2012 still pending. Howto order: "print hello" to the guest?
I do not see how qemu-ga lets its user printing hello, to be executed on the guest? If not, pardon, can anybody point me to exactly that line? Could not find. So I am still believing that qemu-ga was or were a blind alley.
On the other hand states
http://dummdida.tumblr.com/post/82368744933/automatically-testing-vms-using-pexpect-and-qemu
to achieve control with Expect-Tool. As an alternative method?
Weil either way, question: can anyone of the experienced mailing list users give a command line or at least a kind of three lines script, for issuing "print hello_0" on guest?
It would be a great help and obviously a great benefit for the whole. ...
Thanks.
On 02/08/2012 11:35 PM, Wayne Huang wrote:
I'm running varieties of OS on QEMU.
When I need to execute some command in guest OS
I need to connect to every guest separately, it take
efforts to do these actions
so I wondered if there have a way that I can send
command from the Host to guest OS in QEMU (like a remote shell through
QEMU)
or any ideas that I can add this function to my QEMU ?
Thanks
i don't think any mechanism distributed with qemu that will do this. the best place to look for coding something to do it would probably be to look at qemu-ga, the guest agent that is part of qemu. qemu-ga runs as a process in the guest and communicates over a virtio-serial connection. there has been some talk recently on the qemu-dev mailing list about features for qemu-ga but i don't remember if this was one of the items discussed. (it was mainly about merging qemu-ga with agents from ovirt and spice). http://wiki.qemu.org/Features/QAPI/GuestAgent is a qemu wiki page about the guest agent.i hope that is enough to get you pointed in the right direction.
mike
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-discuss] print "hello" on out of box guest?,
A . Non <=