[Qemu-devel] 答复: Re: 答复: Re: 答复: Re: 答复: Re: [PATCH v2] qga: replace GetIfEntry

2017-11-14 Thread lu.zhipeng
build 32 bit config: ./configure --enable-guest-agent --cross-prefix=i686-w64-mingw32- --with-vss-sdk="/home/VSSSDK72" --disable-fdt --target-list=i386-softmmu 为了让您的VPlat虚拟机故障和docker故障得到高效的处理,请上报故障到: $VPlat技术支持。 芦志朋 luzhipeng IT开发工程师 IT Development Engineer 操作系统产品

[Qemu-devel] 答复: Re: 答复: Re: 答复: Re: 答复: Re: [PATCH v2] qga: replace GetIfEntry

2017-11-14 Thread lu.zhipeng
Quoting lu.zhip...@zte.com.cn (2017-11-14 19:41:58)> i used xp version:> > xp professional 2002 service pack 3>Hmm, doesn't --cross-prefix=x86_64-w64-mingw32- result in a 64-bit> qemu-ga.exe? How are you running this on 32-bit Windows XP? i build two version :32bit and 64 bit , run 32bit

[Qemu-devel] 答复: Re: 答复: Re: 答复: Re: [PATCH v2] qga: replace GetIfEntry

2017-11-14 Thread lu.zhipeng
i used xp version: xp professional 2002 service pack 3 build environment: root@localhost qemu-2.5.0]# cat /etc/redhat-release CentOS Linux release 7.0.1406 (Core) 为了让您的VPlat虚拟机故障和docker故障得到高效的处理,请上报故障到: $VPlat技术支持。 芦志朋 luzhipeng IT开发工程师 IT Development E

[Qemu-devel] 答复: Re: 答复: Re: [PATCH v2] qga: replace GetIfEntry

2017-11-14 Thread lu.zhipeng
i test the latest qga in xp , it run ok . my qga config : Configured with: './configure' '--enable-guest-agent' '--cross-prefix=x86_64-w64-mingw32-' '--with-vss-sdk=/home/VSSSDK72' '--disable-fdt' '--target-list=x86_64-softmmu' used qga version info [root@ceshi qemu]# git log

[Qemu-devel] 答复:Re: 答复: Re: [PATCH v2] qga: replace GetIfEntry

2017-11-13 Thread lu.zhipeng
i not sure that i use latest qga in xp,maybe use the older qga.i will test latest qga in xp 发自我的zMail 原始邮件 发件人:MichaelRoth; 收件人:芦志朋10108272; 抄送人:qemu-devel@nongnu.org; 日期:2017-11-14 07:57:45 主题:Re: 答复: Re: [PATCH v2] qga: replace GetIfEntry Quoting lu.zhip...@zte.com.cn (2017-11-09 05:

[Qemu-devel] 答复: Re: [PATCH v2] qga: replace GetIfEntry

2017-11-09 Thread lu.zhipeng
i think the code is better if (OSver.dwMajorVersion >= 6) { MIB_IF_ROW2 aMib_ifrow; typedef NETIOAPI_API (WINAPI *getifentry2_t)(PMIB_IF_ROW2 Row); memset(&aMib_ifrow, 0, sizeof(aMib_ifrow)); aMib_ifrow.InterfaceIndex = nicId; HMODULE module = GetModuleHandle("iphlp

[Qemu-devel] 答复: Re: [PATCH v2] qga: replace GetIfEntry

2017-11-07 Thread lu.zhipeng
>I have the modified patch staged here: > > https://github.com/mdroth/qemu/commit/de597a8b27722ce4f9cc660f930f7dccc712712d>Let > me know if it looks okay and I'll send a pull request for rc1 the code right, but running QGA on the Windows XP, error: can not find the link to GetIfEntry2

[Qemu-devel] 答复: Re: [PATCH v7 RESEND] qga: Add support network interface statistics inguest-network-get-interfaces command

2017-10-25 Thread lu.zhipeng
>> +if (NO_ERROR == GetIfEntry(&aMib_ifrow)) { thanks, I found may be overflow using GetIfEntry,thus GetIfEntry2 instead of GetIfEntry. 为了让您的VPlat虚拟机故障和docker故障得到高效的处理,请上报故障到: $VPlat技术支持。 芦志朋 luzhipeng IT开发工程师 IT Development Engineer 操作系统产品部/中心研究院/系统产品 OS Product Dept

[Qemu-devel] 答复: Re: 答复: Re: [PATCH] vhost: don't set vring call fd to -1 invhost_virtqueue_start for vhost-user

2017-08-21 Thread lu.zhipeng
>On 2017年08月21日 11:28, lu.zhip...@zte.com.cn wrote: >> if (!vdev->use_guest_notifier_mask) {>>> >/* TODO: check and >> handle errors. */>>> > >> -- set right callfd>> }> if >> (k->query_guest_notifie

[Qemu-devel] 答复: Re: [PATCH] vhost: don't set vring call fd to -1 invhost_virtqueue_start for vhost-user

2017-08-20 Thread lu.zhipeng
>On 2017年08月21日 09:50, ZhiPeng Lu wrote:>> commit >96a3d98d2cdbd897ff5ab33427aa4cfb94077665 (vhost: don't set vring call>> if no >vector) set vring call fd to -1 for drivers does not use interrupt>> at >all(e.g virtio-net pmd). That patch setting vring call fd to -1 cause>> the >network to not

[Qemu-devel] 答复: Re: [PATCH RESEND v6] qga: Add support networkinterface statistics in guest-network-get-interfaces command

2017-07-04 Thread lu.zhipeng
Thanks for the review. >Hi>On Tue, Jul 4, 2017 at 10:51 AM ZhiPeng Lu wrote:> >>we can get the network interface statistics inside a virtual machine by> >>guest-network-get-interfaces command. it is very useful for us to monitor> >>and analyze network traffic. >It's nicer if you give

Re: [Qemu-devel] [PATCH v4] qga: Add support network interfacestatistics in

2017-04-25 Thread lu.zhipeng
> + */> +colon = strchr(line, ':')> +if (!colon) {> + continue> +}> +*colon = '\0'> +if (colon - path_len >= line && strcmp(colon - path_len, path) == 0) {colon - path_len > line would imply the current line isn't a matcheither, so i think tha

[Qemu-devel] 答复: Re: [PATCH] qemu-ga: addguest-network-get-interface-stat command

2017-04-19 Thread lu.zhipeng
ok,i agreed. i will do it 为了让您的VPlat虚拟化故障得到高效的处理,请上报故障到: $VPlat技术支持。 芦志朋 luzhipeng IT开发工程师 IT Development Engineer 操作系统产品部/中心研究院/系统产品 OS Product Dept./Central R&D Institute/System Product 深圳市南山区科技南路55号中兴通讯研发大楼33楼 33/F, R&D Building, ZTE Corporation Hi-tech Road Sou

[Qemu-devel] 答复: Re: [PATCH] qemu-ga: addguest-network-get-interface-stat command

2017-04-19 Thread lu.zhipeng
in some cases, nic statistics from guest is different from QEMU backend device,when guest network drops packets. We can know the real reason by monitor guest network statistics in the case. 为了让您的VPlat虚拟化故障得到高效的处理,请上报故障到: $VPlat技术支持。 芦志朋 luzhipeng IT开发工程师 IT Development Engineer 操

[Qemu-devel] 答复: 转发: Re: [PATCH] vhost: skip RAM device memory sections

2017-04-09 Thread lu.zhipeng
i have been tested many times,i confirm ram device region references is not be dropped,when detaching vhost net. So far ,i do not have better idea to drop the references. the ram device momery is special . i think vhost listening the RAM devicemomery is not necessary. skip RAM device mem

[Qemu-devel] 答复: 转发: Re: [PATCH] vhost: skip RAM device memory sections

2017-04-09 Thread lu.zhipeng
i'm sorry ,it should be memory_region_is_ram_device in new version qemu , memory_region_is_skip_dump is in older version qemu. 芦志朋 luzhipeng IT开发工程师 IT Development Engineer 操作系统产品部/中心研究院/系统产品 OS Product Dept./Central R&D Institute/System Product 四川省成都市天府大道中段800号 E: lu