Package QGA Command
- 1、Send Command: Use qemu-agent-command send command and params to vm at the vm host.
- 2、Command Run: Vm running command then return a PID.
- 3、Get PID Status: Use guest-exec-status send command and check command res status, if status is not 'Exited', retry it. You can set retry count in cfg.conf.
- 4、Get Res: The status is Exited, get stdout or error end this operation.
To be supplemented
- libvirt-client
- virt-manager
- python 3.8+
sh setup.sh
- log_file:Log path and name
- thread_name:Logger name
- repeat_count: Retry get PID status count
python box_class.py -h eg: python box_class.py vm_instance_id --cmd_line ps --params a
You're highly encouraged to participate in our development. Please submit Issues and Pull Requests with pleasure.
Join our official Open Source QQ Group 394256506.
Contact us by [email protected]
If you have any suggestions, bug reports, or annoyances please report them to our issue tracker at https://github.com/Dtap117/qga_box/issues
https://github.com/Dtap117/qga_box/wiki
This software is licensed under the Apache License. See the LICENSE file in the top distribution directory for the full license text.