how to get vm uptime through libvirt api

2022-07-25 Thread Jiatong Shen
Hello community, I would like to know if there is an api to get a virtual machine's uptime. Thank you in advance for the help. -- Best Regards, Jiatong Shen

Re: 回复: Eject CD ROM medium fails with 'Tray of device is not open'

2022-07-25 Thread Erik Skultety
On Mon, Jul 25, 2022 at 08:09:59AM +, liang chaojun wrote: > Thanks Erik firstly for your response, I seems have high probability to hit > this issue now. > Is there any workaround solution? > > Thanks! Try the SATA emulated backend instead of IDE for the CDROM drive. Since you claim to have

回复: Eject CD ROM medium fails with 'Tray of device is not open'

2022-07-25 Thread liang chaojun
Thanks Erik firstly for your response, I seems have high probability to hit this issue now. Is there any workaround solution? Thanks! 发件人: Erik Skultety 发送时间: 2022年7月25日 15:50 收件人: liang chaojun 抄送: libvirt-users@redhat.com 主题: Re: Eject CD ROM medium fails wit

Re: Eject CD ROM medium fails with 'Tray of device is not open'

2022-07-25 Thread Erik Skultety
On Mon, Jul 25, 2022 at 05:10:26AM +, liang chaojun wrote: > Hi Guys, > > I have hit an issue on testing against our testbed, It's failed to eject > cdrom media after reboot from installed the guest OS. Sounds like this one: https://gitlab.com/qemu-project/qemu/-/issues/933 so it may we wor