Re: how to build libvirt-go-module statically

2023-09-06 Thread Jiatong Shen
Thank you so much for the info! Best Regards, Jiatong Shen On Wed, Sep 6, 2023 at 4:37 PM Daniel P. Berrangé wrote: > On Wed, Sep 06, 2023 at 03:25:48PM +0800, Jiatong Shen wrote: > > Hello community, > > > >I want to know how to build libvirt-go-module statically? M

how to build libvirt-go-module statically

2023-09-06 Thread Jiatong Shen
Hello community, I want to know how to build libvirt-go-module statically? My go version is 1.17 and libvirt-go-module version is v1.9007.0. Thank you very much for the help. -- Best Regards, Jiatong Shen

how to use exec:cat > /dev/null using libvirt

2023-02-23 Thread Jiatong Shen
mand using libvirt? Thank you very much for the help. -- Best Regards, Jiatong Shen

Re: detach-interface success but domiflist still saw interface

2022-11-28 Thread Jiatong Shen
reconnect which calls qemuProcessUpdateDevices could fix current xml. But it does not. So my question is 1) should qemuProcessUpdateDevices remove gone devices from current configuration? 2) what could I do without reboot virtual machine? Thank you, Best, Jiatong Shen virsh # qemu-monitor-command

Re: detach-interface success but domiflist still saw interface

2022-11-28 Thread Jiatong Shen
Shen On Thu, Nov 24, 2022 at 10:58 PM Peter Krempa wrote: > On Thu, Nov 24, 2022 at 16:47:48 +0800, Jiatong Shen wrote: > > Hello Commnunity, > > > > I saw an weird situation on a phytium machine (arm64 v8), after the > > following commands, I can still see th

detach-interface success but domiflist still saw interface

2022-11-24 Thread Jiatong Shen
=279 net33: index=0,type=nic,model=virtio-net-pci,macaddr=fa:16:3e:64:26:f8 \ hostnet33: index=0,type=tap,fd=287 net34: index=0,type=nic,model=virtio-net-pci,macaddr=fa:16:3e:d2:0a:99 \ hostnet34: index=0,type=tap,fd=303 -- Best Regards, Jiatong Shen

Re: blockcopy preserve original cache mode value

2022-11-16 Thread Jiatong Shen
Thank you for the clarification. On Wed, Nov 16, 2022 at 5:11 PM Peter Krempa wrote: > On Wed, Nov 16, 2022 at 09:17:43 +0800, Jiatong Shen wrote: > > Hello Community, > > > >We are observing that after a blockcopy, the disk backend will inherit > > from

blockcopy preserve original cache mode value

2022-11-15 Thread Jiatong Shen
/qemu/qemu_domain.c#L10887 which eventually calls qemuDomainPrepareDiskSourceData and override input config. My question is is this on purpose? Because seems like qemu allows different configs. Thnak you very much for the help. -- Best Regards, Jiatong Shen

Re: failed to load seccomp syscall filter in kernel: Operation canceled

2022-10-27 Thread Jiatong Shen
Prívozník wrote: > On 10/25/22 02:38, Jiatong Shen wrote: > > Hello community, > > > >I am operating an openstack cluster where applications (libvirt/nova > > etc) are running using containers. The compute node's arch is aarch64 > > (phytium 2500), when t

failed to load seccomp syscall filter in kernel: Operation canceled

2022-10-24 Thread Jiatong Shen
stop one virtual machine, I am able to boot another. Besides, I managed to manually boot a virtual machine without any issue. So my question is what could be the potential cause of this behavior and how can I deal with it? Thank you very much in advance for the help. -- Best Regards, Jiatong Shen

Re: how to get vm uptime through libvirt api

2022-07-26 Thread Jiatong Shen
> > On Tue, Jul 26, 2022 at 10:27:19AM +0200, Michal Prívozník wrote: > > On 7/26/22 10:07, Jiatong Shen wrote: > > > thank you very much for reply. I have got another question which is off > > > topic. > > > Am I able to get vm's process id throug

Re: how to get vm uptime through libvirt api

2022-07-26 Thread Jiatong Shen
Thank you very much for reply. I'll read the code and try to provide patch . Best, Norman On Tue, Jul 26, 2022 at 4:27 PM Michal Prívozník wrote: > On 7/26/22 10:07, Jiatong Shen wrote: > > thank you very much for reply. I have got another question which is off > > topic.

Re: how to get vm uptime through libvirt api

2022-07-26 Thread Jiatong Shen
thank you very much for reply. I have got another question which is off topic. Am I able to get vm's process id through libvirt api? Thank you very much. Best, Norman On Tue, Jul 26, 2022 at 4:04 PM Michal Prívozník wrote: > On 7/26/22 09:48, Jiatong Shen wrote: > > Thank you

Re: how to get vm uptime through libvirt api

2022-07-26 Thread Jiatong Shen
, Jul 26, 2022 at 3:16 PM Michal Prívozník wrote: > On 7/26/22 08:49, Jiatong Shen wrote: > > 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. > > There's no such A

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: how to change emulator path during live migration

2022-04-27 Thread Jiatong Shen
ah.. sorry for the mistake. I find that on the source libvirt will also verify emulator binary, thus emulator must also exist on src. because in qemuMigrationBegin method, it will call qemuDomainDefCopy and eventually validates emulator exists... best, Jiatong Shen On Wed, Apr 27, 2022 at 4:03

how to change emulator path during live migration

2022-04-26 Thread Jiatong Shen
it possible to change emulator during live migration? I try to to remove emulator under devices but looks like it does not help. thank you very much and looking forward for the feedback. -- Best Regards, Jiatong Shen

config vhost-user-scsi

2022-01-05 Thread Jiatong Shen
Hello, I am trying spdk vhost-user. I managed to plug in vhost-user-blk, but did not find the doc guiding me through setting up vhost-user-scsi. Is it supported now? Thank you. -- Best Regards, Jiatong Shen

how to use vhost-user-vsock

2021-11-16 Thread Jiatong Shen
Hello community, I am looking for a way to configure vhost-user-vsock using libvirt, but looks like it is not written in doc. How can I use vhost-user-vsock using libvirt? Thank you. -- Best Regards, Jiatong Shen

how to get enabled features

2021-09-30 Thread Jiatong Shen
you. -- Best Regards, Jiatong Shen

security driver mismatch blocks live migration..

2021-09-17 Thread Jiatong Shen
researching how to enable apparmor profile for a k8s pod. But Is it possible to do a live migrate an instance and disable security driver at the same time? Thank you. -- Best Regards, Jiatong Shen

vm vcpu uses isolated cores

2021-09-01 Thread Jiatong Shen
d got scheduled on isolated cpus? Thank you. -- Best Regards, Jiatong Shen

Re: attach a pcie root port as hostdev

2021-08-04 Thread Jiatong Shen
Thank you very much.. On Wed, Aug 4, 2021 at 10:39 PM Laine Stump wrote: > > > On 8/4/21 3:21 AM, Jiatong Shen wrote: > > Hello community, > > > > I am working on plugging a xilinx fpga card as a hostdev. This fpga > > card has 2 functions, each has a d

attach a pcie root port as hostdev

2021-08-04 Thread Jiatong Shen
. but got the following error, error: Failed to attach device from bridge.xml error: internal error: Non-endpoint PCI devices cannot be assigned to guests so, my question is is it possible to attach a pci-bridge as hostdev? thank you. -- Best Regards, Jiatong Shen

investigate locks on a domain

2021-07-20 Thread Jiatong Shen
qemuProcessReconnect and why it acquires a domain state lock.. -- Best Regards, Jiatong Shen

how to build a github release tarball

2021-07-14 Thread Jiatong Shen
Hello community, I am trying to figure out a way to build a release tarball like https://github.com/libvirt/libvirt/releases?after=v6.2.0, for libvirt 6.0.0, but don't know how. Could anyone teach me how to package it? thank you. -- Best Regards, Jiatong Shen

Re: host identifier

2021-07-05 Thread Jiatong Shen
Thanks, I'll check it out. On Mon, Jul 5, 2021 at 4:30 PM Daniel P. Berrangé wrote: > On Mon, Jul 05, 2021 at 08:31:15AM +0800, Jiatong Shen wrote: > > Hello community, > > > > I am using OpenStack nova and realize that nova now uses host fqdn from > > libvirt as

host identifier

2021-07-04 Thread Jiatong Shen
you help. -- Best Regards, Jiatong Shen

driver_remote option defaults to auto

2021-06-20 Thread Jiatong Shen
/54b602019d7dfa94a6c52ef7aa3abdfaa93ed233/meson.build#L1178 sasl seems required remote_driver to have a value of enabled... -- Best Regards, Jiatong Shen

interface qos conflicts with ovs

2021-06-10 Thread Jiatong Shen
would like to know if it is more ideal to set ovs port qos and replace current tc when ovs port is used? thank you -- Best Regards, Jiatong Shen

Re: error when building from git checkout

2021-06-04 Thread Jiatong Shen
Awesome, thanks! On Fri, Jun 4, 2021 at 8:33 PM Andrea Bolognani wrote: > [re-adding libvirt-users] > > On Fri, Jun 04, 2021 at 04:49:49PM +0800, Jiatong Shen wrote: > > Thank you very much for the reply. after applying this ps, the error is > > gone. > > Glad to hea

error when building from git checkout

2021-06-03 Thread Jiatong Shen
Hello community, I am trying to compile libvirt from source but being trapped with following error message when running ninja -C build ninja -C build ninja: Entering directory `build' [1/12] Generating virkeyname-osx.html with a meson_exe.py custom command FAILED: docs/manpages/virkeyname-osx.htm

boot arm64 guest stuck

2021-05-12 Thread Jiatong Shen
ce will be appreciated. thank you very much for the help -- Best Regards, Jiatong Shen

move mount permission denied

2021-03-31 Thread Jiatong Shen
created and attached by k8s and mount looks like `/dev/mapper/ubuntu--vg-root on /var/log/termination-log type ext4 (rw,relatime,errors=remount-ro,data=ordered)` Any idea why this happens? appreciate the help! -- Best Regards, Jiatong Shen