Re: Sending command to virtual machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/26/2014 04:33 PM, lukass.vacek@xxxxxxxxx wrote:
> Hello,
> I would like to know if there is a way how to execute a command inside of 
> running virDomainPtr. For example call exec command but not on my computer, 
> but on running virtual machine. If there is a way, what needs to be done for
> it?
> Thanks for answer!

This same question was asked earlier this week:
https://www.redhat.com/archives/libvirt-users/2014-March/msg00149.html

Short answer: if you use LXC, then use, 'virsh lxc-enter-namespace' does
just that.  If you use qemu, then you need to write a patch to qemu's
guest agent (not on this mailing list) or use some other agent of your
own creation.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux