Re: ipv6 can not work for direct type interface

2023-08-06 Thread Yalan Zhang
n Tue, Jul 11, 2023 at 9:48 AM Yalan Zhang wrote: > Hi there, > > I have a question regarding direct type interfaces. Would someone be able > to take a look at it? > When I start 2 VMs on the same host with interface "direct type + bridge > mode", just as below: &

ipv6 can not work for direct type interface

2023-07-10 Thread Yalan Zhang
Hi there, I have a question regarding direct type interfaces. Would someone be able to take a look at it? When I start 2 VMs on the same host with interface "direct type + bridge mode", just as below: The 2 VMs can connect to each other via ipv4, but can not connect to each other via

Re: SR-IOV pool with static MAC address and vlan

2023-04-03 Thread Yalan Zhang
Hi Paul, You can set the static MAC address and VLAN in the interface section of the VM xml. So it will not change even when the VM shuts down and restarts. VM interface xml: And set the network(vf pool) with xml like below: # cat hostnet.xml hostdev_net

question about virtio related options: ats=on and iommu=on

2023-01-08 Thread Yalan Zhang
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! Details: 1. set vm with intel iommu device, and enable iommu for

Re: Predictable and consistent net interface naming in guests

2022-12-11 Thread Yalan Zhang
Hi Igor, I have tried some scenarios and recorded the status in this document[1]. Could you please help to check the test result? Is my test matrix enough? (I will test again once qemu is ready) Thank you! BTW, current test results for pxb: Q35+ pcie-expander-bus - works PC + pci-expander-bus -

Re: How to check tap device for sndbuf when I set sndbuf=0 in the interface xml

2022-10-31 Thread Yalan Zhang
cc libvirt-users for more inputs Hi, I'm trying to find out how to check sndbuf for a tap device, could you please help to check it? In kernel 2.6.18, the tap device's default sndbuf is 1MB. There is a RFE bug[1] and patch[2] to introduce the option below in libvirt to adjust the sndbuf. 1600

Re: [libvirt-users] [virtual interface] detach interface during boot succeed with no changes

2022-09-08 Thread Yalan Zhang
Hi Peter, Thank you for pointing that out, I will track the issue on that bug instead. Yalan On Thu, Sep 8, 2022 at 3:58 PM Peter Krempa wrote: > On Thu, Sep 08, 2022 at 15:16:56 +0800, Yalan Zhang wrote: > > Hi Laine, > > > > As for the hot-unplug behavior, I have on

Re: [libvirt-users] [virtual interface] detach interface during boot succeed with no changes

2022-09-08 Thread Yalan Zhang
f unplug Thank you! Yalan On Thu, Sep 14, 2017 at 12:48 AM Laine Stump wrote: > On 09/04/2017 03:37 AM, Yalan Zhang wrote: > > Hi guys, > > > > when I detach an interface from vm during boot (vm boot not finished), it > > always fail. I'm not sure if there is an

Re: Number of the max supported VFs are different

2022-03-07 Thread Yalan Zhang
Hi Michal, Get it, Thank you! On Mon, Mar 7, 2022 at 7:36 PM Michal Prívozník wrote: > On 3/3/22 03:55, Yalan Zhang wrote: > > Hi there, > > > > I have an Intel X520 network card, and I find the max supported VFs are > > different. > > Please check below ou

Number of the max supported VFs are different

2022-03-02 Thread Yalan Zhang
quot; says it's 63. And the sriov_numvfs file will take precedence. Why are the numbers different? Just a little curious. Thank you! --- Best Regards, Yalan Zhang IRC: yalzhang

Re: qemu+ssh connections to a remote libvirt fail as ssh banner configured

2022-02-13 Thread Yalan Zhang
Hi Jiri, Get it! Have tried and it works well, Thank you all! On Thu, Feb 10, 2022 at 6:14 PM Jiri Denemark wrote: > On Thu, Feb 10, 2022 at 17:47:43 +0800, Yalan Zhang wrote: > > Thank you! I tried /etc/motd, and it does not impact the libvirt > connection. > > Happy to l

Re: qemu+ssh connections to a remote libvirt fail as ssh banner configured

2022-02-10 Thread Yalan Zhang
; > > On Thu, Feb 10, 2022 at 09:52:52AM +0800, Yalan Zhang wrote: > > >> Hi there, > > >> > > >> I have a system configured with ssh login banner like as below: > > >> # cat ~/.bashrc > > >> ... > > >> echo > > >

qemu+ssh connections to a remote libvirt fail as ssh banner configured

2022-02-09 Thread Yalan Zhang
/share/doc/libvirt-docs/html/remote.html. Could we have this documented for reference with all the possibilities? Thank you! [1] https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/868753/comments/17 [2] https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/868753/comments/14 --- Best Regards, Yalan Zhang IRC: yalzhang

Re: Question about the Qos support status for different type interfaces

2021-03-28 Thread Yalan Zhang
Hi Michal, Thank you for the clarification. --- Best Regards, Yalan Zhang IRC: yalzhang On Fri, Mar 26, 2021 at 8:19 PM Michal Privoznik wrote: > On 3/26/21 12:31 PM, Yalan Zhang wrote: > > Hi there, > > > > I have a question about the Qos support stat

Question about the Qos support status for different type interfaces

2021-03-26 Thread Yalan Zhang
for hostdev interfaces --- Best Regards, Yalan Zhang IRC: yalzhang

Re: about the script /etc/qemu-ifup with nmcli command

2021-01-04 Thread Yalan Zhang
Hi, Could anyone familiar with NetworkManager help with this? This question has been bothering me for a long time. Thank you very much! --- Best Regards, Yalan Zhang IRC: yalzhang On Wed, Oct 21, 2020 at 6:31 PM Yalan Zhang wrote: > Hi, > > I have tried the qemu-ifup script

Re: How to exit console in L2 vm?

2020-11-30 Thread Yalan Zhang
I see. Thank you for the detailed explanation. --- Best Regards, Yalan Zhang IRC: yalzhang On Mon, Nov 30, 2020 at 3:31 PM Peter Krempa wrote: > On Mon, Nov 30, 2020 at 14:50:33 +0800, Yalan Zhang wrote: > > Hi, > > > > I have a question about nested virtual

How to exit console in L2 vm?

2020-11-29 Thread Yalan Zhang
the L1 guest? Thank you! --- Best Regards, Yalan Zhang IRC: yalzhang

Re: about the new added attributes "check" and "type" for interface mac element

2020-11-01 Thread Yalan Zhang
Hi, I have filed a bug about the error messages, https://bugzilla.redhat.com/show_bug.cgi?id=1892130 And I will track the questions on that bug, please help to update on the bug comments about the questions. Thank you! --- Best Regards, Yalan Zhang IRC: yalzhang On Wed, Oct 21, 2020 at 10

about the script /etc/qemu-ifup with nmcli command

2020-10-21 Thread Yalan Zhang
thernet type interface is unmanaged. I don't know how to update the script to fix it. Could you please help? --- Best Regards, Yalan Zhang IRC: yalzhang

about the new added attributes "check" and "type" for interface mac element

2020-10-20 Thread Yalan Zhang
able to validate doc against /usr/share/libvirt/schemas/domain.rng Extra element devices in interleave Element domain failed to validate content Failed. Try again? [y,n,i,f,?]: > press 'i' error: XML error: invalid mac address check value: 'next'. Valid values are "generated" and "static". Failed. Try again? [y,n,f,?]: --- Best Regards, Yalan Zhang IRC: yalzhang

Re: [libvirt-users] Question about disabling UFO on guest

2020-08-05 Thread Yalan Zhang
=off,gso=off,guest_ufo=off'. ===> for receive > for transmit Reference: https://bugzilla.redhat.com/show_bug.cgi?id=1387477#c4 --- Best Regards, Yalan Zhang IRC: yalzhang On Sun, Dec 24, 2017 at 1:57 AM Bao Nguyen wrote: > Hello everyone, > > I would like to

Re: Could you please help with questions about the net failover feature

2020-07-06 Thread Yalan Zhang
r physical ethernet adapter on the host that is connected to the same network. --- Best Regards, Yalan Zhang IRC: yalzhang On Sun, Mar 22, 2020 at 6:50 AM Laine Stump wrote: > On 3/21/20 1:08 AM, Yalan Zhang wrote: > > > In my understanding, the standby and primary

Do we need "amd_iommu=on" for AMD system anymore?

2020-06-29 Thread Yalan Zhang
U cap 0x40 [7.920222] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank). [7.927428] perf/amd_iommu: Detected AMD IOMMU #1 (2 banks, 4 counters/bank) ... --- Best Regards, Yalan Zhang IRC: yalzhang

Could you please help with questions about the net failover feature

2020-03-20 Thread Yalan Zhang
will still broadcast in the same subnet, and the vm will get the packet as the standby share the same mac. Right? Thank you! --- Best Regards, Yalan Zhang IRC: yalzhang

Re: [libvirt-users] [Libvirt failed to claim Virtual Functions on hostdev network after VM reboot]

2019-05-28 Thread Yalan Zhang
ens2. --- Best Regards, Yalan Zhang IRC: yalzhang On Fri, May 24, 2019 at 6:34 PM Erik Skultety wrote: > On Thu, May 23, 2019 at 10:37:56PM +0530, Fuzail Ahmad wrote: > > Problem Statement: > > > > Libvirt failed to claim Virtual Functions on hostdev networ

Re: [libvirt-users] Network filters with clean-traffic not working on Debian Stretch

2018-12-28 Thread Yalan Zhang
Broadcast --arp-op Request_Reverse --arp-ip-src 0.0.0.0 --arp-ip-dst 0.0.0.0 --arp-mac-src 52:54:0:3a:40:b7 --arp-mac-dst 52:54:0:3a:40:b7 -j ACCEPT -j DROP For interface set as: --- Best Regards, Yalan Zhang IRC

[libvirt-users] multiple devices in the same iommu group in L1 guest

2018-07-03 Thread Yalan Zhang
e rhel hostdev.xml error: Failed to attach device from hostdev.xml error: internal error: unable to execute QEMU command 'device_add': vfio error: :07:00.0: group 2 is not viable --- Best Regards, Yalan Zhang IRC: yalzhang Internal phone: 8

[libvirt-users] problem when use tls to connect libvirt

2017-12-06 Thread Yalan Zhang
mmands 'quit' to quit virsh # # ping test.englab.cn PING test.englab.cn (192.168.122.4) 56(84) bytes of data. 64 bytes from test.englab.cn (192.168.122.4): icmp_seq=1 ttl=64 time=0.235 ms 64 bytes from test.englab.cn (192.168.122.4): icmp_seq=2 ttl=64 time=0.204 ms ... --- Best Regards, Yalan

Re: [libvirt-users] libvirt/dnsmasq is not adhering to static DHCP assignments

2017-10-30 Thread Yalan Zhang
:36,192.168.80.7,openstack-rabbitmq-00 52:54:00:95:ca:bd,192.168.80.5,openstack-glance-00 --- Best Regards, Yalan Zhang IRC: yalzhang Internal phone: 8389413 On Mon, Oct 30, 2017 at 8:26 AM, Dagmawi Biru <ad...@dbvoid.com> wrote: > Given the following network conf

Re: [libvirt-users] Need to increase the rx and tx buffer size of my interface

2017-10-26 Thread Yalan Zhang
Hi Ashish, IMO, it is yes, no way to increase tx_queue_size for direct type interface --- Best Regards, Yalan Zhang IRC: yalzhang Internal phone: 8389413 On Thu, Oct 26, 2017 at 3:38 PM, Ashish Kurian <ashish...@gmail.com> wrote: > Hi Yalan, > > In the previous emai

Re: [libvirt-users] Need to increase the rx and tx buffer size of my interface

2017-10-26 Thread Yalan Zhang
the guest. hostdev type interface will passthrough the physical interface or VF of the host to guest, it will get the device's parameters for rx and tx buffer. --- Best Regards, Yalan Zhang IRC: yalzhang Internal phone: 8389413 On Thu, Oct 26, 2017 at 1:30 PM, Ashish Kurian <ashish...@gmai

Re: [libvirt-users] Need to increase the rx and tx buffer size of my interface

2017-10-25 Thread Yalan Zhang
for eth0: Pre-set maximums: RX: *512* RX Mini: 0 RX Jumbo: 0 TX: 256 Current hardware settings: RX: *512* RX Mini: 0 RX Jumbo: 0 TX: 256 --- Best Regards, Yalan Zhang IRC: yalzhang Internal phone: 8389413 On Thu, Oct 26, 2017 at 2:33 AM, Ashish Kurian <ashish...@gmail.com> wrote: &g

[libvirt-users] question about how to set rng device on vm

2017-10-25 Thread Yalan Zhang
--nofork localhost:1234) Thank you very much and look forward for your response! --- Best Regards, Yalan Zhang IRC: yalzhang Internal phone: 8389413 ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt

[libvirt-users] [virtual interface] detach interface during boot succeed with no changes

2017-09-04 Thread Yalan Zhang
Regards, Yalan Zhang IRC: yalzhang Internal phone: 8389413 ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users