Re: issue about libvirtd: daemon can not start

2023-05-29 Thread Han Han
On Fri, May 5, 2023 at 3:13 PM 王东亚 wrote: > hi, > > I installed kmv on ubuntu-22.04-desktop-amd64, after installing some > necessary package (qemu-kvm libvirt-daemon-system libvirt-clients > bridge-utils virtinst), the libvirtd can not get start, actually, when I > running *systemctl start li

Re: [s3-bug-review] question about virtio related options: ats=on and iommu=on

2023-01-08 Thread Han Han
On Mon, Jan 9, 2023 at 12:01 PM Yalan Zhang wrote: > Hi, > > I have a question about the virtio related options, could someone please > help to confirm? > In my understanding, the ats='on' should depend on the "iommu=on", but I'm > not sure about it. > Please check the details below. > Thank you!

Re: The default USB controller of pc machine type

2022-07-14 Thread Han Han
On Wed, Jul 13, 2022 at 7:04 PM Daniel P. Berrangé wrote: > On Wed, Jul 13, 2022 at 07:00:17PM +0800, Han Han wrote: > > Hello, > > I found that the default USB controller for q35 machine type is qemu-xhci > > while for pc it is piix3-uhci. Here are the results(on qemu-k

The default USB controller of pc machine type

2022-07-13 Thread Han Han
Hello, I found that the default USB controller for q35 machine type is qemu-xhci while for pc it is piix3-uhci. Here are the results(on qemu-kvm-7.0.0 qemu-kvm-7.0.0): ➜ ~ cat /tmp/usb.xml USB 1a81d4ef-6537-4ae8-b257-8a15e0c0525f 2097152 2097152 1 hvm /usr/libexec/

Re: After restarted libvirtd service, live migration VM hit an issue 'Target CPU check default does not match source none'

2022-06-15 Thread Han Han
On Sun, Jun 12, 2022 at 9:31 PM 梁朝军 wrote: > Hi All, > > BTW, don't send the email to any member of the mail list. It is not someone's duty to answer it. Just only send it to the mail list. > After restarted the libvirtd service on the source host, we start live > migration VM to destination

When does the balloon-change or control-error event occur

2022-04-07 Thread Han Han
Hi developers, I have questions about balloon-change or control-error event: 1. What's the meaning of these events 2. When do the events occur? The comments of their callbacks don't mention that( https://gitlab.com/libvirt/libvirt/-/blob/master/include/libvirt/libvirt-domain.h#L4130 https://gitlab

Questions on device-added and device-removed events

2021-11-17 Thread Han Han
Hi developers, When the guest OS is booting, the event for live attachment could be caught by libvirt, while the event for live detachment could not. Version: libvirt-7.9 qemu-kvm-6.1 Steps: Terminal 1: ➜ ~ virsh event --loop --all Terminal 2: ➜ ~ virsh start avocado-vt-vm1; qemu-img create /tm

Re: can't connect to virtlogd: Unable to open system token /run/libvirt/common/system.token: Permission denied

2021-11-15 Thread Han Han
On Mon, Nov 15, 2021 at 10:49 PM 梁朝军 wrote: > Hi all, > > I have encountered a new issue when start a VM with new builded libvirt. > I failed to start VM from defined xml and hit the error like "can't > connect to virtlogd: Unable to open system token > /run/libvirt/common/system.token: Permissio

Re: about pcie-hot-plug on aarch64

2021-10-10 Thread Han Han
On Fri, Oct 8, 2021 at 5:16 PM Jaze Lee wrote: > Hello, > We run Openstack Stein on arm. It runs nova-compute(use libvirt > as virt driver) on arm host. We found when built with disks (use ceph > rbd) on arm hosts, the vm can not attach all disk correctly. For > example, built with six disks

Re: how to get enabled features

2021-10-10 Thread Han Han
On Fri, Oct 1, 2021 at 10:00 AM Jiatong Shen wrote: > Hello community, > > I am trying to learn how to use dtrace and systemtap for libvirt, as the > documentation says it seems to enable `--with-dtrace` when compiling. I am > installing libvirt using apt install and is it possible to determine

Fail to do blockcopy to network dest xml with --reuse-external

2021-06-27 Thread Han Han
Hello, libvirt developers, Recently I find an issue of libvirt blockcopy: Versions: libvirt-7.4.0 qemu-kvm-6.0.0 Steps: 1. Create a nbd server # qemu-img create -f qcow2 /var/lib/libvirt/images/fedora-1.qcow2 10G -o preallocation=full # qemu-nbd -e 10 /var/lib/libvirt/images/fedora-1.qcow2 -p 100

Re: how to increase vram in windows guest?

2021-05-27 Thread Han Han
On Sat, May 22, 2021 at 9:09 PM gansteed wrote: > Hello: > I'm using kvm to host a windows 7 guest vm, I've install the latest > spice guest tools from > https://spice-space.org/download/windows/spice-guest-tools/spice-guest-tools-latest.exe, > and I've set video section like this: > > >

Re: Fail to build libvirt upstream rpm on fedora 33

2020-10-30 Thread Han Han
On Fri, Oct 30, 2020 at 5:12 PM Daniel P. Berrangé wrote: > On Fri, Oct 30, 2020 at 10:30:00AM +0800, Han Han wrote: > > Hello, > > I encountered errors when building rpm on fedora33: > > > > Versions: > > libvirt: v6.9.0-rc2 > > gcc-10.2.1-5.fc33.x86_64 &

Fail to build libvirt upstream rpm on fedora 33

2020-10-29 Thread Han Han
Hello, I encountered errors when building rpm on fedora33: Versions: libvirt: v6.9.0-rc2 gcc-10.2.1-5.fc33.x86_64 meson-0.55.3-1.fc33.noarch ninja-build-1.10.1-2.fc33.x86_64 binutils-2.35-11.fc33.x86_64 Steps: 1. Archive libvirt source code to ~/rpmbuild/SOURCES/libvirt-6.9.0.tar.xz 2. Copy libvi

Re: Why "discard":"unmap" is the default option for disks

2020-10-27 Thread Han Han
On Thu, Oct 22, 2020 at 2:40 PM Peter Krempa wrote: > On Thu, Oct 22, 2020 at 10:57:05 +0800, Han Han wrote: > > Hello, > > I find "discard":"unmap" is defaultly enabled in qemu cmdline(li

Why "discard":"unmap" is the default option for disks

2020-10-21 Thread Han Han
Hello, I find "discard":"unmap" is defaultly enabled in qemu cmdline(libvirt v6.6, qemu v5.1): XML: QEMU cmdline: ... -blockdev {"driver":"file","filename":"/var/lib/libvirt/images/new.qcow2","

[libvirt-users] Fail to build upstream libvirt on rhel8

2019-11-21 Thread Han Han
aving directory '/root/libvirt/build/src' make[1]: *** [Makefile:1957: all-recursive] Error 1 make[1]: Leaving directory '/root/libvirt/build' make: *** [Makefile:1850: all] Error 2 -- Best regards, --- Han Han Q

Re: [libvirt-users] Where can I find the slirp-helper?

2019-11-06 Thread Han Han
>> cd libslirp-rs >> cargo build --bin slirp-helper --features=all >> > > Han Han 於 2019年11月7日 週四 下午2:01寫道: > >> For the libvirt 5.8 release, I find that there is a new comment in >> qemu.conf: >> #slirp_helper = "/usr/bin/slirp-helper" &g

[libvirt-users] Where can I find the slirp-helper?

2019-11-06 Thread Han Han
.9.0-rc1-2-g73f91d659b). Could you please tell me where I can find that helper program? Thanks -- Best regards, ----------- Han Han Quality Engineer Redhat. Email: h...@redhat.com Phone: +861065339333 ___ libvirt-users mailing li

Re: [libvirt-users] Reg: Adding "edu" device using XML file

2019-10-23 Thread Han Han
is no development guide for adding new device in libvirt xml code. Maybe you can refer to former watchdog device patch series: https://www.redhat.com/archives/libvir-list/2009-October/msg00564.html https://www.redhat.com/archives/libvir-list/2017-September/msg00078.html > Thanks, > Bharath

Re: [libvirt-users] Reg: Adding "edu" device using XML file

2019-10-23 Thread Han Han
__ > libvirt-users mailing list > libvirt-users@redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-users -- Best regards, --- Han Han Quality Engineer Redhat. Email: h...@redhat.com Phone: +861065339333 __

Re: [libvirt-users] libvirtd (4.9) version takes a long time to start

2019-02-11 Thread Han Han
e of libvirtd runs simultaneously during delay. > > Any ideas on how to resolve? > > Thanks > _______ > libvirt-users mailing list > libvirt-users@redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-users -- Best regards, ---

Re: [libvirt-users] pcie-expander-bus doesn't support pcie-pci-bridge and pcie-switch-upstream-port

2018-10-17 Thread Han Han
On Wed, Oct 17, 2018 at 8:56 PM Andrea Bolognani wrote: > On Wed, 2018-10-17 at 10:50 +0800, Han Han wrote: > > In libvirt, I found pcie-expander-bus controller doesn't support > pcie-to-pci-bridge and pcie-switch-upstream-port. > [...] > > # virsh -k0 -K0 define /tmp/c

[libvirt-users] pcie-expander-bus doesn't support pcie-pci-bridge and pcie-switch-upstream-port

2018-10-16 Thread Han Han
For any concerns in libvirt? Thank you~ -- Best regards, ------- Han Han Quality Engineer Redhat. Email: h...@redhat.com Phone: +861065339333 ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

Re: [libvirt-users] Shared clipboard not working

2018-09-09 Thread Han Han
appreciated :) > > Thank you, > Filipe Laíns > 3DCE 51D6 0930 EBA4 7858 BA41 46F6 33CB B0EB 4BF2 > > ___ > libvirt-users mailing list > libvirt-users@redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-users > --

[libvirt-users] How about giving commit ID in release notes

2018-07-09 Thread Han Han
item: capabilities: Provide info about host IOMMU support Capabilities XML now provide information about host IOMMU support. (commit dc34e7) Though we can seach them from git, it is more accurate doing by the authors. -- Best regards, --- Han Han Quality Engineer

Re: [libvirt-users] Fail to compile libvirt with address sanitizer by clang-7

2018-04-11 Thread Han Han
It works. Thank you very much!!! On Tue, Apr 10, 2018 at 2:40 PM, Michal Privoznik wrote: > On 04/10/2018 05:22 AM, Han Han wrote: > > Hi, > > I tried to compile libvirt with address sanitizer( > > https://github.com/google/sanitizers/wiki/AddressSanitizer) to discover &

[libvirt-users] Unable to libvirt wireshark dissector

2018-03-26 Thread Han Han
ibvirt protocol in wireshark. How can I use the wireshark libvirt plugin? -- Best regards, --- Han Han Quality Engineer Redhat. Email: h...@redhat.com Phone: +861065339333 <+86%2010%206533%209333> ___ libvirt-users maili

Re: [libvirt-users] Does libvirt-sanlock support network disk?

2017-11-19 Thread Han Han
Thanks for your reply. On Wed, Nov 8, 2017 at 4:58 PM, Daniel P. Berrange wrote: > On Wed, Nov 08, 2017 at 02:42:35PM +0800, Han Han wrote: > > Hello, > > As we know, libvirt sanlock support file type storage. I wonder *if it > > supports network storage.* > > I

[libvirt-users] Does libvirt-sanlock support network disk?

2017-11-07 Thread Han Han
SI disk and check *resource file* VM disk xml: Start VM: # virsh start iscsi Domain iscsi started Check resource file: # ls /var/lib/libvirt/sanlock __LIBVIRT__DISKS__ No resource file generated. So, does libvirt sanlock only support file or block type storage? -- Han Han Quality E

Re: [libvirt-users] virsh snapshot delete / live-migration issues

2017-05-05 Thread Han Han
or: QEMU 2.5.0 > > Best regards, > > Chihhang Wu > > > ___________ > libvirt-users mailing list > libvirt-users@redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-users -- Han Han Associate Quality Engineer Redhat Email:

Re: [libvirt-users] shutdown -r now hangs in qemu-/kvm-vm

2017-02-27 Thread Han Han
Please provide more info about the issue, such as your libvirt/qemu version, your host OS version, your VM OS version, your VM xml. Thanks. On Mon, Feb 27, 2017 at 4:12 PM, Dan Johansson wrote: > Since updating app-emulation/libvirt and/or app-emulation/qemu (both > were updated at the same tim

Re: [libvirt-users] Attaching disks with external snapshots

2016-08-18 Thread Han Han
your OS is ubuntu, so I think apparmor causes the permission problem. Try to find a way to enable virt_use_nfs or disable apparmor. Then check if the problem can be reproduced. Han - Original Message - From: "Erlon Cruz" To: "Han Han" Cc: "Yang Yang" , "

Re: [libvirt-users] host freeze when starting VM

2016-05-11 Thread Han Han
megaraid with 64K pages (rhbz 1269300) - CVE-2015-8104 kvm: DoS infinite loop in microcode DB exception (rhbz 1278496 1279691) - CVE-2015-5307 kvm: DoS infinite loop in microcode AC exception (rhbz 1277172 1279688) - Original Message - From: "Alexander Petrenz" To: "Han Ha

Re: [libvirt-users] host freeze when starting VM

2016-05-10 Thread Han Han
Could you tell me you libvirt and kernel version? What is your hypervisor? Kvm or xen? And hypervisor's version? - Original Message - From: "Alexander Petrenz" To: libvirt-users@redhat.com Sent: Saturday, May 7, 2016 5:37:41 AM Subject: [libvirt-users] host freeze when starting VM Hi to

Re: [libvirt-users] glib2 head file error when build libvirt with wireshark support

2016-02-15 Thread Han Han
The wireshark requirement: # pkg-config --print-requires wireshark Qt It works after changing the pc file as you said. Thanks you!!! - Original Message - From: "Martin Kletzander" To: "Han Han" Cc: libvirt-users@redhat.com, "Luyao Huang" Sent: Monday

[libvirt-users] glib2 head file error when build libvirt with wireshark support

2016-02-15 Thread Han Han
I compile the latest libvirt from fedora rawhide, but failed. The version of my software: wireshark-devel-2.0.1-2.fc24.x86_64 glib2-2.47.5-2.fc24.x86_64 gcc-5.1.1-4.fc23.x86_64 binutils-2.26-10.fc24.x86_64 The error as following: # ./autogen.sh --prefix=/usr && make . wireshark/src/plugin.c:5:

Re: [libvirt-users] How to fix an incorrect storage pool?

2015-11-14 Thread Han Han
I am sorry that I don't know the method you say works or not. And I don't know if it's dangerous. Good luck to you. - Original Message - From: "Phill Edwards" To: "Han Han" Cc: libvirt-users@redhat.com Sent: Thursday, November 12, 2015 12:50:10 PM

Re: [libvirt-users] How to fix an incorrect storage pool?

2015-11-11 Thread Han Han
It says that Logical volume centos_hyv2/swap in use. Maybe centos_hyv2/swap is mounted. So I think you should umount or swapoff centos_hyv2/swap first, make sure it is not used by other process. Then try pool-destroy. - Original Message - From: "Phill Edwards" To: libvirt-users@redhat