[Xen-devel] Help- Information regarding xen debugging commands

2017-07-07 Thread Gokul Vijayakrishnan
Hi All, I am a newbie to xen. As I was going through xen debugging commands, I came across " key A => toggle alternative key handling" and "key % => trap to xendbg". Can anyone please explain me the functionality of these two debugging features? Regards Gokul ___

Re: [Xen-devel] Help with: Xen BUG at timer.c:189

2017-06-09 Thread Dietmar Hahn
Am Mittwoch, 7. Juni 2017, 04:28:33 schrieb Jan Beulich: > >>> On 07.06.17 at 11:28, wrote: > > Am Freitag, 19. Mai 2017, 06:41:36 schrieb Jan Beulich: > >> >>> On 19.05.17 at 11:52, wrote: > >> > I'am struggling with a hypervisor panic. The hypervisor version is 4.4.3, > >> > yes I know - very o

Re: [Xen-devel] Help with: Xen BUG at timer.c:189

2017-06-07 Thread Jan Beulich
>>> On 07.06.17 at 11:28, wrote: > Am Freitag, 19. Mai 2017, 06:41:36 schrieb Jan Beulich: >> >>> On 19.05.17 at 11:52, wrote: >> > I'am struggling with a hypervisor panic. The hypervisor version is 4.4.3, >> > yes I know - very old ;-), but the affected code hasn't much changed. >> >> Well, at

Re: [Xen-devel] Help with: Xen BUG at timer.c:189

2017-06-07 Thread Dietmar Hahn
Am Freitag, 19. Mai 2017, 06:41:36 schrieb Jan Beulich: > >>> On 19.05.17 at 11:52, wrote: > > I'am struggling with a hypervisor panic. The hypervisor version is 4.4.3, > > yes I know - very old ;-), but the affected code hasn't much changed. > > Well, at the very least I'd expect you to base you

Re: [Xen-devel] Help with: Xen BUG at timer.c:189

2017-05-19 Thread Jan Beulich
>>> On 19.05.17 at 11:52, wrote: > I'am struggling with a hypervisor panic. The hypervisor version is 4.4.3, > yes I know - very old ;-), but the affected code hasn't much changed. Well, at the very least I'd expect you to base your code on 4.4.4 plus the about 199 backports we've added there ove

[Xen-devel] Help with: Xen BUG at timer.c:189

2017-05-19 Thread Dietmar Hahn
Hi list, I'am struggling with a hypervisor panic. The hypervisor version is 4.4.3, yes I know - very old ;-), but the affected code hasn't much changed. The panic was never seen before and occured while booting the system, only dom0 was running. (XEN) Xen BUG at timer.c:189 (XEN) [ Xen-4.4.3_

Re: [Xen-devel] help please...

2017-03-14 Thread Wei Liu
On Mon, Mar 13, 2017 at 10:36:50AM +0800, 刘瑞丰 wrote: > [image: 内嵌图片 1] > Please don't send pictures to mailing list. Not everyone can see them (some people use text based email clients) and they consume a lot of bandwidth combined. > it reports: > > checking for PyArg_ParseTuple in -lpython2.7.

Re: [Xen-devel] help please...

2017-03-13 Thread Gémes Géza
2017-03-13 12:15 keltezéssel, 刘瑞丰 írta: own@Sylvanas ‹ master › : ~/xen/raisin [127] % ./raise -y build [raisin] calling seabios_check_package [raisin] seabios_check_package done [raisin] calling ovmf_check_package [raisin] ovmf_check_package done [raisin] calling xen_check_package [raisin] xen_c

Re: [Xen-devel] help regarding intel board

2016-12-30 Thread Dario Faggioli
On Thu, 2016-12-22 at 10:52 +0530, George John wrote: > hi,  > > Can anybody give a list of intel based boards  for automotive > embedded use case in which xen could be installed?. > I personally can't. I tend to think that you may have more probability of getting an useful answer if you turn th

[Xen-devel] help regarding intel board

2016-12-21 Thread George John
hi, Can anybody give a list of intel based boards for automotive embedded use case in which xen could be installed?. regards, George ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] Help regarding bringing up dom0 for lager board

2016-11-10 Thread Julien Grall
Hello George, On 09/11/16 14:47, George John wrote: Thanks it was really the problem of dts. I just followed the proceedings of Ferger in Mailing lists who tried to bring up Dom0 in lager, and I got it booted up. But now the problem is with rootfs. I am checking on that.. May I ask you to upda

Re: [Xen-devel] Help regarding bringing up dom0 for lager board

2016-11-09 Thread George John
Thanks it was really the problem of dts. I just followed the proceedings of Ferger in Mailing lists who tried to bring up Dom0 in lager, and I got it booted up. But now the problem is with rootfs. I am checking on that.. Thanks and regards, George On Tue, Nov 8, 2016 at 5:20 PM, Julien Grall wro

Re: [Xen-devel] Help regarding bringing up dom0 for lager board

2016-11-08 Thread Julien Grall
On 07/11/2016 16:39, George John wrote: Hi, Hello, (XEN) Freed 276kB init memory. (XEN) traps.c:2505:d0v0 HSR=0x93820007 pc=0xc001d084 gva=0xe7804060 gpa=0x00e6160060 Looking at the log, DOM0 is trying to access an region that is not mapped (0x00e6160060). When booting Xen is g

[Xen-devel] Help regarding bringing up dom0 for lager board

2016-11-07 Thread George John
Hi, I am trying to bring up Dom0 and DomU in xen in lager board. I have followed the instructions in https://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions/Lager . I am unable to boot Dom0. I am getting the following log. -- | LAGE

Re: [Xen-devel] [Help] Trigger Watchdog when adding an IPI in vcpu_wake

2016-09-27 Thread Wei Yang
On Mon, Sep 26, 2016 at 12:18:06PM +0200, Dario Faggioli wrote: >On Sat, 2016-09-24 at 11:39 +0800, Wei Yang wrote: >> On Thu, Sep 22, 2016 at 11:12:15AM +0200, Dario Faggioli wrote: >> > _Almost_ correct. However, the problem is more that vcpu_wake() can >> > happen in response to an IRQ, and when

Re: [Xen-devel] [Help] Trigger Watchdog when adding an IPI in vcpu_wake

2016-09-26 Thread Dario Faggioli
On Sat, 2016-09-24 at 11:39 +0800, Wei Yang wrote: > On Thu, Sep 22, 2016 at 11:12:15AM +0200, Dario Faggioli wrote: > > _Almost_ correct. However, the problem is more that vcpu_wake() can > > happen in response to an IRQ, and when you grab a spinlock in IRQ > > context, you need to disable IRQs. >

Re: [Xen-devel] [Help] Trigger Watchdog when adding an IPI in vcpu_wake

2016-09-24 Thread Wei Yang
On Thu, Sep 22, 2016 at 11:55:16AM +0200, Dario Faggioli wrote: >On Thu, 2016-09-22 at 11:12 +0200, Dario Faggioli wrote: >> _Almost_ correct. However, the problem is more that vcpu_wake() can >> happen in response to an IRQ, and when you grab a spinlock in IRQ >> context, you need to disable IRQs.

Re: [Xen-devel] [Help] Trigger Watchdog when adding an IPI in vcpu_wake

2016-09-23 Thread Wei Yang
On Thu, Sep 22, 2016 at 11:12:15AM +0200, Dario Faggioli wrote: >On Sat, 2016-09-17 at 03:30 +, Wei Yang wrote: >> Dario, >> >Hey, hi again, and sorry for the in getting back at this particular >part of the conversation. > Sure, I was busy with other stuffs these days :-( >> Just get chance

Re: [Xen-devel] [Help] Trigger Watchdog when adding an IPI in vcpu_wake

2016-09-22 Thread Dario Faggioli
On Thu, 2016-09-22 at 11:12 +0200, Dario Faggioli wrote: > _Almost_ correct. However, the problem is more that vcpu_wake() can > happen in response to an IRQ, and when you grab a spinlock in IRQ > context, you need to disable IRQs. > > There is a good explanation of why, here: > Ah, sorry, link i

Re: [Xen-devel] [Help] Trigger Watchdog when adding an IPI in vcpu_wake

2016-09-22 Thread Dario Faggioli
On Sun, 2016-09-18 at 12:03 +0800, Wei Yang wrote: > Dario, > > Took a look into your code, some questions as below: > Haha, here you are! :-D > 1. vcpu_wake is split into two cases, the first case is "not in irq" > and "irq > enabled". Some reason for this classification? Maybe some background >

Re: [Xen-devel] [Help] Trigger Watchdog when adding an IPI in vcpu_wake

2016-09-22 Thread Dario Faggioli
On Sat, 2016-09-17 at 03:30 +, Wei Yang wrote: > Dario, > Hey, hi again, and sorry for the in getting back at this particular part of the conversation. > Just get chance to look into this. This is interesting and I am > trying to > understand the problem you want to solve first. > :-) > vcp

Re: [Xen-devel] [Help] Trigger Watchdog when adding an IPI in vcpu_wake

2016-09-19 Thread Wei Yang
On Tue, Sep 20, 2016 at 01:24:17AM +0200, Dario Faggioli wrote: >On Sat, 2016-09-17 at 00:31 +, Wei Yang wrote: >> On Fri, Sep 16, 2016 at 06:07:08PM +0200, Dario Faggioli wrote: >> > But then again, if the system is not oversubscribed, I'd tend to >> > think >> > it to be tolerable, and I'd ex

Re: [Xen-devel] [Help] Trigger Watchdog when adding an IPI in vcpu_wake

2016-09-19 Thread Dario Faggioli
On Sat, 2016-09-17 at 00:31 +, Wei Yang wrote: > On Fri, Sep 16, 2016 at 06:07:08PM +0200, Dario Faggioli wrote: > > But then again, if the system is not oversubscribed, I'd tend to > > think > > it to be tolerable, and I'd expect the biggest problem to be the > > work- > > stealing logic (cons

Re: [Xen-devel] [Help] Trigger Watchdog when adding an IPI in vcpu_wake

2016-09-17 Thread Wei Yang
On Tue, Sep 13, 2016 at 01:30:17PM +0200, Dario Faggioli wrote: >[using xendevel correct address] > >On Tue, 2016-09-13 at 16:54 +0800, Wei Yang wrote: >> On Fri, 2016-09-09 at 17:41 +0800, Wei Yang wrote: >> >  >> > I'm not surprised by that. Yet, I'd be interested in hearing more >> > about this

Re: [Xen-devel] [Help] Trigger Watchdog when adding an IPI in vcpu_wake

2016-09-17 Thread Wei Yang
On Wed, Sep 14, 2016 at 06:44:17PM +0800, Wei Yang wrote: >On Tue, Sep 13, 2016 at 01:30:17PM +0200, Dario Faggioli wrote: >>[using xendevel correct address] >> >>On Tue, 2016-09-13 at 16:54 +0800, Wei Yang wrote: >>> On Fri, 2016-09-09 at 17:41 +0800, Wei Yang wrote: >>> >  >>> > I'm not surprised

Re: [Xen-devel] [Help] Trigger Watchdog when adding an IPI in vcpu_wake

2016-09-17 Thread Wei Yang
On Fri, Sep 16, 2016 at 06:07:08PM +0200, Dario Faggioli wrote: >On Fri, 2016-09-16 at 10:49 +0800, Wei Yang wrote: >> On Wed, Sep 14, 2016 at 06:18:48PM +0200, Dario Faggioli wrote: >> > On Wed, 2016-09-14 at 18:44 +0800, Wei Yang wrote: >> > If the system is not overbooked, it's a bit strange tha

Re: [Xen-devel] [Help] Trigger Watchdog when adding an IPI in vcpu_wake

2016-09-16 Thread Dario Faggioli
On Fri, 2016-09-16 at 10:49 +0800, Wei Yang wrote: > On Wed, Sep 14, 2016 at 06:18:48PM +0200, Dario Faggioli wrote: > > On Wed, 2016-09-14 at 18:44 +0800, Wei Yang wrote: > > If the system is not overbooked, it's a bit strange that the > > scheduler > > is the bottleneck. > I looked at the origina

Re: [Xen-devel] [Help] Trigger Watchdog when adding an IPI in vcpu_wake

2016-09-15 Thread Wei Yang
On Wed, Sep 14, 2016 at 06:18:48PM +0200, Dario Faggioli wrote: >On Wed, 2016-09-14 at 18:44 +0800, Wei Yang wrote: >> On Tue, Sep 13, 2016 at 01:30:17PM +0200, Dario Faggioli wrote: >> >  >> > Do you mind sharing just a bit more, such as: >> >  - number of pcpus >> >  - number of vcpus of the vari

Re: [Xen-devel] [Help] Trigger Watchdog when adding an IPI in vcpu_wake

2016-09-14 Thread Dario Faggioli
On Wed, 2016-09-14 at 18:44 +0800, Wei Yang wrote: > On Tue, Sep 13, 2016 at 01:30:17PM +0200, Dario Faggioli wrote: > >  > > Do you mind sharing just a bit more, such as: > >  - number of pcpus > >  - number of vcpus of the various VMs > 160 pcpus > 16 vcpus in VM and 8 VMs > So, 16x8=128, which

Re: [Xen-devel] [Help] Trigger Watchdog when adding an IPI in vcpu_wake

2016-09-14 Thread Wei Yang
On Tue, Sep 13, 2016 at 01:30:17PM +0200, Dario Faggioli wrote: >[using xendevel correct address] > >On Tue, 2016-09-13 at 16:54 +0800, Wei Yang wrote: >> On Fri, 2016-09-09 at 17:41 +0800, Wei Yang wrote: >> >  >> > I'm not surprised by that. Yet, I'd be interested in hearing more >> > about this

Re: [Xen-devel] [Help] Trigger Watchdog when adding an IPI in vcpu_wake

2016-09-13 Thread Dario Faggioli
[using xendevel correct address] On Tue, 2016-09-13 at 16:54 +0800, Wei Yang wrote: > On Fri, 2016-09-09 at 17:41 +0800, Wei Yang wrote: > >  > > I'm not surprised by that. Yet, I'd be interested in hearing more > > about this profiling you have done (things like, how you captured > > the data, wh

Re: [Xen-devel] help -- A question about ' XENFEAT_auto_translated_physmap':

2016-08-10 Thread Jan Beulich
>>> On 10.08.16 at 15:19, wrote: > On August 09, 2016 9:02 PM, < jbeul...@suse.com > wrote: >> >>> On 09.08.16 at 14:36, wrote: >> > Hi Jan, >> > >> > A question about ' XENFEAT_auto_translated_physmap': >> > >> > In linux code, in arch/x86/xen/mmu.c, >> >> I assume you know that I'm not a mainta

Re: [Xen-devel] help -- A question about ' XENFEAT_auto_translated_physmap':

2016-08-10 Thread Xuquan (Euler)
On August 09, 2016 9:02 PM, < jbeul...@suse.com > wrote: > >>> On 09.08.16 at 14:36, wrote: > > Hi Jan, > > > > A question about ' XENFEAT_auto_translated_physmap': > > > > In linux code, in arch/x86/xen/mmu.c, > > I assume you know that I'm not a maintainer of the Linux code. > > > __xen_pgd_wal

Re: [Xen-devel] help -- A question about ' XENFEAT_auto_translated_physmap':

2016-08-09 Thread Jan Beulich
>>> On 09.08.16 at 14:36, wrote: > Hi Jan, > > A question about ' XENFEAT_auto_translated_physmap': > > In linux code, in arch/x86/xen/mmu.c, I assume you know that I'm not a maintainer of the Linux code. > __xen_pgd_walk() > { > > > if (xen_feature(XENFEAT_auto_translated_physm

[Xen-devel] help -- A question about ' XENFEAT_auto_translated_physmap':

2016-08-09 Thread Xuquan (Euler)
Hi Jan, A question about ' XENFEAT_auto_translated_physmap': In linux code, in arch/x86/xen/mmu.c, __xen_pgd_walk() { if (xen_feature(XENFEAT_auto_translated_physmap)) return 0; } Why xen_feature(XENFEAT_auto_translated_physmap) is true, then return directl

[Xen-devel] help

2016-03-23 Thread Marwa Hamza
ello i'm trying to learn more about xen hypervisor .. i install xen in my host with alpine as domu and now i'm trying to build xen from source with linux dom0 for an arm board .. i have a little bit confusion about building xen from the source here's what i did i build xen from the source git clone

[Xen-devel] help .. xl :command not found

2016-03-22 Thread Marwa Hamza
i builded xen from the source git clone git://xenbits.xen.org/xen.git then i used linux as a dom0 git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git with ubuntu as file system it worked successfully .. i get a shell but when i write sudo xl list ---> xl command not found i'

Re: [Xen-devel] help

2016-03-15 Thread Doug Goldstein
On 3/15/16 4:01 PM, Safa Hamza wrote: > i solve the problem by degugging the linux kernel .. the problem was the > instruction omap_smc1 ..i'm not sure about what it did but when i delete > this instruction it works ... but i face another problem .. the execution > now stops in > [2.610379]

Re: [Xen-devel] help

2016-03-15 Thread Safa Hamza
i solve the problem by degugging the linux kernel .. the problem was the instruction omap_smc1 ..i'm not sure about what it did but when i delete this instruction it works ... but i face another problem .. the execution now stops in

Re: [Xen-devel] help

2016-03-15 Thread Julien Grall
On 15/03/16 18:21, Konrad Rzeszutek Wilk wrote: On Tue, Mar 15, 2016 at 06:16:44PM +, Julien Grall wrote: On 15/03/16 18:09, Konrad Rzeszutek Wilk wrote: On Tue, Mar 15, 2016 at 05:56:46PM +, Julien Grall wrote: Hi Safa, On 11/03/16 17:16, Wei Liu wrote: Add back xen-devel On Fr

Re: [Xen-devel] help

2016-03-15 Thread Konrad Rzeszutek Wilk
On Tue, Mar 15, 2016 at 06:16:44PM +, Julien Grall wrote: > > > On 15/03/16 18:09, Konrad Rzeszutek Wilk wrote: > >On Tue, Mar 15, 2016 at 05:56:46PM +, Julien Grall wrote: > >>Hi Safa, > >> > >>On 11/03/16 17:16, Wei Liu wrote: > >>>Add back xen-devel > >>> > >>>On Fri, Mar 11, 2016 at 0

Re: [Xen-devel] help

2016-03-15 Thread Julien Grall
On 15/03/16 18:09, Konrad Rzeszutek Wilk wrote: On Tue, Mar 15, 2016 at 05:56:46PM +, Julien Grall wrote: Hi Safa, On 11/03/16 17:16, Wei Liu wrote: Add back xen-devel On Fri, Mar 11, 2016 at 05:23:22PM +0100, Safa Hamza wrote: ok .. can u tell me how compile xen with debug symbols !!

Re: [Xen-devel] help

2016-03-15 Thread Konrad Rzeszutek Wilk
On Tue, Mar 15, 2016 at 05:56:46PM +, Julien Grall wrote: > Hi Safa, > > On 11/03/16 17:16, Wei Liu wrote: > >Add back xen-devel > > > >On Fri, Mar 11, 2016 at 05:23:22PM +0100, Safa Hamza wrote: > >>ok .. can u tell me how compile xen with debug symbols !! i have xen-syms > >>after compiling

Re: [Xen-devel] help

2016-03-15 Thread Julien Grall
Hi Safa, On 11/03/16 17:16, Wei Liu wrote: Add back xen-devel On Fri, Mar 11, 2016 at 05:23:22PM +0100, Safa Hamza wrote: ok .. can u tell me how compile xen with debug symbols !! i have xen-syms after compiling xen with "make dist-xen XEN_TARGET_ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabihf-

Re: [Xen-devel] help

2016-03-11 Thread Wei Liu
Add back xen-devel On Fri, Mar 11, 2016 at 05:23:22PM +0100, Safa Hamza wrote: > ok .. can u tell me how compile xen with debug symbols !! i have xen-syms > after compiling xen with "make dist-xen XEN_TARGET_ARCH=arm32 > CROSS_COMPILE=arm-linux-gnueabihf- CONFIG_EARLY_PRINTK=omap5432" is this >

Re: [Xen-devel] help

2016-03-11 Thread Wei Liu
On Fri, Mar 11, 2016 at 11:02:26AM -0500, Konrad Rzeszutek Wilk wrote: > On Fri, Mar 11, 2016 at 04:47:47PM +0100, Safa Hamza wrote: > > now i did just like u said ... a new error appears > > Adding XEn-devel back. Please reply all. > > > *

Re: [Xen-devel] help

2016-03-11 Thread Safa Hamza
i did just like u said ... a new error appears ** U-Boot# fdt addr $dtb_addr_r U-Boot# fdt resize U-Boot# fdt set /chosen xen,xen-bootargs \"$xen_bootargs\" U-Boot# fdt resize U-Boot# fdt set /chosen xen,dom0-bootargs \"$d

Re: [Xen-devel] help

2016-03-11 Thread Konrad Rzeszutek Wilk
On Fri, Mar 11, 2016 at 04:47:47PM +0100, Safa Hamza wrote: > now i did just like u said ... a new error appears Adding XEn-devel back. Please reply all. > ** > U-Boot# fdt addr $dtb_addr_r > U-Boot# fdt resize > U-Boot#

Re: [Xen-devel] help

2016-03-11 Thread Konrad Rzeszutek Wilk
On Fri, Mar 11, 2016 at 10:20:01AM -0500, Konrad Rzeszutek Wilk wrote: > On Fri, Mar 11, 2016 at 04:05:58PM +0100, Safa Hamza wrote: And please do not drop Xen-devel. Adding it back on. > > i did like u said but nothing change .. > > > > No you didn't. See below: > > U-Boot# setenv dom0_bootarg

Re: [Xen-devel] help

2016-03-11 Thread Konrad Rzeszutek Wilk
On Thu, Mar 10, 2016 at 09:04:22PM +0100, Safa Hamza wrote: > hello > i'm trying to run xen on omap5 following > this > http://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions/OMAP5432_uEVM > > the execution stops at this point > > **

[Xen-devel] help

2016-03-10 Thread Safa Hamza
hello i'm trying to run xen on omap5 following this http://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions/OMAP5432_uEVM the execution stops at this point ** U-Boot SPL 2013.10-rc2 (Mar 08

[Xen-devel] help for getint domu's memory

2016-02-29 Thread 高强
Hi,alls Xen kernel may modify domu's memory but the domu can't know.I need to save the memory before xen kernel modify it,so I want to save the memory in xen kernel sapce.But I don't know how to get the address of domu's one page memory.Could anybody tell me? Thanks! ___

Re: [Xen-devel] Help in fixing a issue

2016-02-05 Thread Wei Liu
BTW please check out: http://wiki.xen.org/wiki/Asking_Xen_Devel_Questions Wei. ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] Help in fixing a issue

2016-02-05 Thread Wei Liu
Add back xen-devel, please use "reply-all" in the future. And please don't top-post. On Fri, Feb 05, 2016 at 10:01:57PM +1100, PREETI MISHRA wrote: > Thanks for the reply, > > actually, I have a virtual machine in which some processes are running. I > want to analysis their behavior using VMI at

Re: [Xen-devel] Help in fixing a issue

2016-02-05 Thread Wei Liu
On Fri, Feb 05, 2016 at 09:15:52PM +1100, PREETI MISHRA wrote: > I have a patch in Xen which stores some information of VM process. I have > another program running in Dom0 which intercept this information. > I'm not sure I can parse this sentence. It's too vague for what you want to do. For one,

[Xen-devel] Help in fixing a issue

2016-02-05 Thread PREETI MISHRA
I have a patch in Xen which stores some information of VM process. I have another program running in Dom0 which intercept this information. i) I want to configure my patch running in Xen to send the alert notification to program running in Dom0 to read data, probably using event channels. How to c

[Xen-devel] help for function xc_map_foreign_bulk() and munmap()

2015-12-07 Thread 高强
Hi,alls, In xen-4.4.1/tools/libxc/xc_domain_save.c/xc_domain_save(),there are two function calls: region_base = xc_map_foreign_bulk(xch, dom, PROT_READ, pfn_type, pfn_err, batch); munmap(region_base, batch*PAGE_SIZE); I know the function wruncached(io_fd, live,(char*)region_base+(PAGE_SIZE*(j-

Re: [Xen-devel] help for dirty bitmap

2015-11-16 Thread Ian Campbell
On Sun, 2015-11-15 at 13:13 +0800, 高强 wrote: > Hi,alls > >     As we know,xen 4+ maintains a dirty bitmap. Snapshot or migration > will use this bitmap. When the guest domain changes the memory page, VMM > can capture it and set dirty bitmap to 1.  > >     But I can't know how VMM to maintain thi

[Xen-devel] help for dirty bitmap

2015-11-15 Thread 高强
Hi,alls As we know,xen 4+ maintains a dirty bitmap. Snapshot or migration will use this bitmap. When the guest domain changes the memory page, VMM can capture it and set dirty bitmap to 1. But I can't know how VMM to maintain this dirty bitmap. Under what circumstances VMM will set the di

Re: [Xen-devel] help for snapshot

2015-10-21 Thread Dario Faggioli
On Wed, 2015-10-21 at 10:07 +0100, Ian Campbell wrote: > I suggest that if you want help with new developments you should > target the > master branch in xen.git (which is targetted becoming 4.7) or as an > absolute minimum the latest release branch (stable-4.6). > > A lot has changed WRT migrati

Re: [Xen-devel] help for snapshot

2015-10-21 Thread Ian Campbell
On Wed, 2015-10-21 at 11:06 +0800, 高强 wrote: > Hi,alls > > I 'm modifying the source code of snapshot in xen-4.4.1. That is now 3 Xen releases ago. I suggest that if you want help with new developments you should target the master branch in xen.git (which is targetted becoming 4.7) or as an abso

Re: [Xen-devel] help for snapshot

2015-10-21 Thread Wei Liu
On Wed, Oct 21, 2015 at 11:06:07AM +0800, 高强 wrote: > Hi,alls > > I 'm modifying the source code of snapshot in xen-4.4.1. I know the memory > copy and cpu state copy are all in xc_domain_save.c--xc_domain_save(). > > But I don't sure where is the device state copy. Who can tell me the > position

[Xen-devel] help for snapshot

2015-10-20 Thread 高强
Hi,alls I 'm modifying the source code of snapshot in xen-4.4.1. I know the memory copy and cpu state copy are all in xc_domain_save.c--xc_domain_save(). But I don't sure where is the device state copy. Who can tell me the position of device copy in source code. Thanks __

[Xen-devel] help for snapshot

2015-10-20 Thread 高强
Hi,alls I know the snapshot of xen-4.4.1 is through the function xc_domain_save() to achieve.But I want to know from executing the command "xl save" to executing the function xc_domain_save(),how it is call. Has anybody can tell me the call relationship from python to C about snapshot? Thanks __

Re: [Xen-devel] help for python log in xen-4.4.1

2015-10-20 Thread Wei Liu
Please don't top-post. On Tue, Oct 20, 2015 at 10:58:56AM +0800, 高强 wrote: > Hi, > > If you know, could you tell me the call relationship of command "xl save". > Example, when I execute "xl save",which function will be called first,and > then call which function? I mainly want to know which pytho

Re: [Xen-devel] help for python log in xen-4.4.1

2015-10-19 Thread 高强
Hi, Thank you for your help! I'm modifying the source code of xen-4.4.1,I hope throurh printing debug information to track the execution order of functions and check the value of some variables. This is my ultimate goal. But I don't know how to do it in the python code. I tried to print debug in

Re: [Xen-devel] help for python log in xen-4.4.1

2015-10-19 Thread 高强
Hi, If you know, could you tell me the call relationship of command "xl save". Example, when I execute "xl save",which function will be called first,and then call which function? I mainly want to know which python function will be called. Thanks 2015-10-20 10:22 GMT+08:00 高强 : > Hi, > > Thank y

Re: [Xen-devel] help for python log in xen-4.4.1

2015-10-19 Thread Wei Liu
On Mon, Oct 19, 2015 at 10:22:52AM +0800, 高强 wrote: > Hi,alls > > > There are some python code in xen-4.4.1,and in the python code there are > lots debug information such as > log.debug("***"),log.exception("***"),XendError("*")and so on. > > I want to get this kind of information bu

[Xen-devel] help for python log in xen-4.4.1

2015-10-19 Thread 高强
Hi,alls There are some python code in xen-4.4.1,and in the python code there are lots debug information such as log.debug("***"),log.exception("***"),XendError("*")and so on. I want to get this kind of information but I don't know where to get them. Can someone tell me? else,I try t

Re: [Xen-devel] help for snapshot

2015-10-13 Thread Ian Campbell
On Tue, 2015-10-13 at 09:18 +0800, 高强 wrote: > Hi,alls > > I'm modifying the source code of xen-4.4.1. Specifically, I'm modifying > the memory copy part of snapshot. I first put all memory pages to write > protection, and then rewrite the write protection exception part of the > code. After captu

[Xen-devel] help for snapshot

2015-10-13 Thread 高强
Hi,alls. in xen-4.4.1/tools/libxc/xc_domain_save.c,the function xc_domain_save(),there are two function xc_report_progress_start() and xc_report_progress_step().And so as xc_domain_restore(). I don't know the function of these two functions,has anyone can tell me? thanks

Re: [Xen-devel] help for snapshot

2015-10-13 Thread 高强
I'm modifying the source code of snapshot,in the function xc_domain_save() of xc_domain_save.c,through calling wrexact() to copy the memory pages to the local dist. I'm not sure if it is the answer you wang. 2015-10-13 13:49 GMT+08:00 Gohar Irfan : > I'm also working on a similar thing - can you

Re: [Xen-devel] help for snapshot

2015-10-12 Thread Gohar Irfan
I'm also working on a similar thing - can you please tell me how you copy the memory pages from one part of the memory to another? On Tue, Oct 13, 2015 at 10:04 AM 高强 wrote: > Hi,alls > > I'm modifying the source code of xen-4.4.1. Specifically, I'm modifying > the memory copy part of snapshot.

[Xen-devel] help for snapshot

2015-10-12 Thread 高强
Hi,alls I'm modifying the source code of xen-4.4.1. Specifically, I'm modifying the memory copy part of snapshot. I first put all memory pages to write protection, and then rewrite the write protection exception part of the code. After capture the exception then save the memory page , and all mem

Re: [Xen-devel] help: about arch/x86/xen/multicalls.c

2015-08-07 Thread Konrad Rzeszutek Wilk
On Thu, Aug 06, 2015 at 02:21:04PM +0800, 黄先生 wrote: > hi all: > My linux kernel verison is 2.6.32-15, and I make kernel with xen > compileroptions. But when my virual machine start on AWS,it show these log: > does anyone know how to do? > that is soo ancient I am sorry to say we can't hel

[Xen-devel] help: about arch/x86/xen/multicalls.c

2015-08-06 Thread 黄先生
hi all: My linux kernel verison is 2.6.32-15, and I make kernel with xen compileroptions. But when my virual machine start on AWS,it show these log: does anyone know how to do? May I no compiler arch/x86/xen/multicalls.c? How do I can? 1 multicall(s) failed: cpu 0 Pid: 1026, comm:

Re: [Xen-devel] Help with reading from hvc console device on a PV guest

2015-07-28 Thread Wei Liu
Please don't top-post. On Fri, Jul 24, 2015 at 10:05:20AM -0700, sainath grandhi wrote: > Hi Wei, >Thanks for your reply. Sorry I did not change the comment properly. > These are the two methods I tried separately. > > First method: > I see /dev/hvc1 and /dev/hvc2 being created when I gi

Re: [Xen-devel] Help with reading from hvc console device on a PV guest

2015-07-24 Thread sainath grandhi
Hi Wei, Thanks for your reply. Sorry I did not change the comment properly. These are the two methods I tried separately. First method: I see /dev/hvc1 and /dev/hvc2 being created when I give two channels in the guest xl config file. So I wrote a program to open hvc1 and read like below. f

Re: [Xen-devel] Help with reading from hvc console device on a PV guest

2015-07-24 Thread Wei Liu
On Thu, Jul 23, 2015 at 10:14:57AM -0700, sainath grandhi wrote: > Hello, > > Please let me know if you have some information about issue below. > > I created a channel device for PV guest using > > channel= ["connection=pty, name=xen.channel.0, > path=/var/lib/xen/ctl-socket","connectio

Re: [Xen-devel] Help

2015-07-24 Thread Wei Liu
On Thu, Jul 23, 2015 at 08:35:20PM +0530, Akash Talole wrote: > Hello, > > Issue in tapdisk-vbd.c > > Why td_queue_write(parent,treq); is called in static void > __tapdisk_vbd_reissue_td_request(td_vbd_t *vbd,td_image_t *image, > td_request_t treq) function as we can't write in parent vhd becaus

[Xen-devel] Help with reading from hvc console device on a PV guest

2015-07-23 Thread sainath grandhi
Hello, Please let me know if you have some information about issue below. I created a channel device for PV guest using channel= ["connection=pty, name=xen.channel.0, path=/var/lib/xen/ctl-socket","connection=socket, name=xen.channel.1, path=/var/lib/xen/ctl-socket-data"] Xen toolsta

[Xen-devel] Help

2015-07-23 Thread Akash Talole
Hello, Issue in tapdisk-vbd.c Why td_queue_write(parent,treq); is called in static void __tapdisk_vbd_reissue_td_request(td_vbd_t *vbd,td_image_t *image, td_request_t treq) function as we can't write in parent vhd because it is read only. I have attached the code of tapdisk-vbd.c and block-vhd.

[Xen-devel] Help PIIX4 IDE interface

2015-07-07 Thread sanjay T R
Hi, Does Xen-4.4.1 or later version support PIIX4 IDE interface. Going through the Xen code it looks like it is supported but when I try booting a Linux VM it comes up with PIIX3 IDE interface. Please let me know if PIIX4 IDE is supported and can be configured in some way. lspci on linux VM 00

[Xen-devel] Help

2015-07-03 Thread Akash Talole
Hello, I want to know about Blktap asynchronous i/o read write operations on VHD. I want to know detail flow of program block-VHD.c . How the read write operations are performed on VHD . And any improvement in code would be done for better read write operations. Description about dynamic d

Re: [Xen-devel] Help

2015-06-25 Thread Ian Campbell
On Thu, 2015-06-25 at 07:51 +0300, Luc Pierard de Maujouy wrote: You should try and use a descriptive subject in the future so that people who know about the area are inspired to read the mail. Also in the first instance this seems more suitable for the xen-users list. > domU is expected to requ

[Xen-devel] Help

2015-06-24 Thread Luc Pierard de Maujouy
My apologize for been to late for subscription confirmation. Resubmitting. Env : xen 4.5 + kernel 4.0.5 + xl stack, working dom0/domU. Level : Quite critical despite integration env as using source distro (gentoo) tmem is on xen command line, and reported in xl dmesg. tmem module in loaded via i

Re: [Xen-devel] Help: VMXNET3 support with XEN 4.4.1

2014-12-26 Thread Singhal, Upanshu
24, 2014 7:09 PM To: Singhal, Upanshu Cc: Don Slutz; xen-devel@lists.xen.org Subject: Re: [Xen-devel] Help: VMXNET3 support with XEN 4.4.1 On 12/23/14 05:51, Singhal, Upanshu wrote: > > Hello Don, > > I am not trying to configure VMW PVSCSI type of device but not able to > do so. Th

Re: [Xen-devel] Help: VMXNET3 support with XEN 4.4.1

2014-12-24 Thread Don Slutz
/wiki/Network_Throughput_and_Performance_Guide I have not been investigating network bandwidth. -Don Slutz Thanks, -Upanshu *From:*Don Slutz [mailto:dsl...@verizon.com] *Sent:* Saturday, December 20, 2014 3:59 AM *To:* Singhal, Upanshu *Cc:* xen-devel@lists.xen.org *Subject:* Re: [Xen-devel

Re: [Xen-devel] Help: VMXNET3 support with XEN 4.4.1

2014-12-24 Thread Don Slutz
14 12:35 PM *To:* 'Don Slutz' *Cc:* 'xen-devel@lists.xen.org' *Subject:* RE: [Xen-devel] Help: VMXNET3 support with XEN 4.4.1 Hello Don, xen_emul_unplug=unnecessarydoes the trick, I am able to see the vmxnet3 driver using lspci and ethtool –I eth0. Thanks a lot for your help

Re: [Xen-devel] Help: VMXNET3 support with XEN 4.4.1

2014-12-23 Thread Singhal, Upanshu
: 'Don Slutz' Cc: 'xen-devel@lists.xen.org' Subject: RE: [Xen-devel] Help: VMXNET3 support with XEN 4.4.1 Hello Don, xen_emul_unplug=unnecessary does the trick, I am able to see the vmxnet3 driver using lspci and ethtool -I eth0. Thanks a lot for your help, much appreciated.

Re: [Xen-devel] Help: VMXNET3 support with XEN 4.4.1

2014-12-21 Thread Singhal, Upanshu
between vmxnet3 on ESXi and vif on XEN. Do you know what could be the reason for this? Thanks, -Upanshu From: Don Slutz [mailto:dsl...@verizon.com] Sent: Saturday, December 20, 2014 3:59 AM To: Singhal, Upanshu Cc: xen-devel@lists.xen.org Subject: Re: [Xen-devel] Help: VMXNET3 support with XEN 4.4.1

Re: [Xen-devel] Help: VMXNET3 support with XEN 4.4.1

2014-12-19 Thread Don Slutz
P.S. here is the vif line I used: vif = [ "model=vmxnet3,bridge=xenbr0,mac=00:0c:29:86:44:a0", "model=e1000,bridge=xenbr0,mac=00:0c:29:86:44:aa", "model=vmxnet3,bridge=xenbr0,mac=00:0c:29:86:44:b4", "model=vmxnet3,bridge=xenbr0,mac=00:0c:29:86:44:be", "model=vmxnet3,bridge=xenbr0,mac=00:0c:2

Re: [Xen-devel] Help: VMXNET3 support with XEN 4.4.1

2014-12-19 Thread Don Slutz
xen_emul_unplug=unnecessary (kernel arg) may help you here. Also udev likes to rename your devices. Here is a lspci from a guest: [root@C63-min-tools ~]# lspci 00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02) 00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [

[Xen-devel] Help: VMXNET3 support with XEN 4.4.1

2014-12-19 Thread Singhal, Upanshu
Hello, In one of my experiment, I am building a Linux VM with Network interface model as "vmxnet3". I am able to create the VM successfully, but I see that the driver loaded is "vif" and not "vmxnet3". I am using the following option for the network interface: vif = [ 'type=ioemu, mac=00:16:3e:

Re: [Xen-devel] help on qemu-xen for arch arm

2014-12-09 Thread Ian Campbell
On Tue, 2014-12-09 at 09:04 +, Mao Mingya wrote: > --with-system-qemu" --with-system-qemu means "use the qemu which is already installed on the system". IOW it means "do not build a qemu". > I did not find the build process download and compile the qemu-xen as > described it in this link.

[Xen-devel] help on qemu-xen for arch arm

2014-12-09 Thread Mao Mingya
I am trying to cross compile the qemu-xen for arm. Followed the link below http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions/CrossCompiling#Target_Environment Built with the command "CONFIG_SITE=/etc/dpkg-cross/cross-config.armhf ./configure --build=x86_64-unknown-linux-gnu --host