Re: [RFC] Design executing commands from within domains

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

 



在 2016-08-09 19:03:32,"Andrea Bolognani" <abologna@xxxxxxxxxx> 写道:
>On Mon, 2016-08-08 at 16:19 +0100, Daniel P. Berrange wrote:
>> IOW, I don't think we should ever expose the qemu guest agent exec command
>> via libvirt APIs.
>> 
>> If people want a general purpose exec facility, they can trivially write
>> a much better exec feature via a separate virtio-serial channel (or via
>> the new virtio-vsock), and stil access that over libvirt by using the
>> virDomainOpenChannel to connect to the host side of the channel if needed
>
>Personally, I feel like most of this is way out of scope for
>libvirt.
>
>If you want to monitor the disk / memory usage of your guest,
>just run the Nagios agent or whatever in it; if you want to
>run random commands, just use ssh.

One of the use cases for guest agent exec is that
when network service is abnormal,
we could restart it in VMs rather than vnc/spice :) 

Regards,
- Chen
>
>These are not some specific requirements that are strongly
>tied to virtualization, but very generic requirements that
>can be addressed with existing generic software.
>

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]