Re: [Xen-devel] questions of vm save/restore on arm64

2016-06-13 Thread Julien Grall
Hello, On 13/06/16 01:55, Chenxiao Zhao wrote: On 6/12/2016 11:31 PM, Julien Grall wrote: On 12/06/2016 10:46, Chenxiao Zhao wrote: I finally got save/restore working on arm64, but it only works when I assign only one vCPU to VM. If I set vcpus=4 in configure file, the restored VM does not w

Re: [Xen-devel] questions of vm save/restore on arm64

2016-06-12 Thread Chenxiao Zhao
On 6/12/2016 11:31 PM, Julien Grall wrote: On 12/06/2016 10:46, Chenxiao Zhao wrote: Hi all, Hello, I finally got save/restore working on arm64, but it only works when I assign only one vCPU to VM. If I set vcpus=4 in configure file, the restored VM does not work properly. Can you descri

Re: [Xen-devel] questions of vm save/restore on arm64

2016-06-12 Thread Julien Grall
On 12/06/2016 10:46, Chenxiao Zhao wrote: Hi all, Hello, I finally got save/restore working on arm64, but it only works when I assign only one vCPU to VM. If I set vcpus=4 in configure file, the restored VM does not work properly. Can you describe what you mean by "does not work properly"?

Re: [Xen-devel] questions of vm save/restore on arm64

2016-06-12 Thread Chenxiao Zhao
On 6/7/2016 9:17 AM, Chenxiao Zhao wrote: On 6/6/2016 7:58 PM, Stefano Stabellini wrote: On Fri, 3 Jun 2016, Chenxiao Zhao wrote: On 6/3/2016 4:02 AM, Julien Grall wrote: Hello, First thing, the time in the mail headers seems to be wrong. Maybe because of a wrong timezone? I got: 04/06/1

Re: [Xen-devel] questions of vm save/restore on arm64

2016-06-06 Thread Chenxiao Zhao
On 6/6/2016 7:58 PM, Stefano Stabellini wrote: On Fri, 3 Jun 2016, Chenxiao Zhao wrote: On 6/3/2016 4:02 AM, Julien Grall wrote: Hello, First thing, the time in the mail headers seems to be wrong. Maybe because of a wrong timezone? I got: 04/06/16 02:32 however we are still the 3rd in my ti

Re: [Xen-devel] questions of vm save/restore on arm64

2016-06-06 Thread Stefano Stabellini
On Fri, 3 Jun 2016, Chenxiao Zhao wrote: > On 6/3/2016 4:02 AM, Julien Grall wrote: > > Hello, > > > > First thing, the time in the mail headers seems to be wrong. Maybe > > because of a wrong timezone? > > > > I got: 04/06/16 02:32 however we are still the 3rd in my timezone. > > > > On 04/06/1

Re: [Xen-devel] questions of vm save/restore on arm64

2016-06-03 Thread Julien Grall
Hello, On 04/06/16 03:37, Chenxiao Zhao wrote: On 6/3/2016 4:02 AM, Julien Grall wrote: Hello, First thing, the time in the mail headers seems to be wrong. Maybe because of a wrong timezone? I got: 04/06/16 02:32 however we are still the 3rd in my timezone. On 04/06/16 02:32, Chenxiao Zhao

Re: [Xen-devel] questions of vm save/restore on arm64

2016-06-03 Thread Chenxiao Zhao
On 6/3/2016 4:02 AM, Julien Grall wrote: Hello, First thing, the time in the mail headers seems to be wrong. Maybe because of a wrong timezone? I got: 04/06/16 02:32 however we are still the 3rd in my timezone. On 04/06/16 02:32, Chenxiao Zhao wrote: On 6/3/2016 3:16 AM, Julien Grall wrot

Re: [Xen-devel] questions of vm save/restore on arm64

2016-06-03 Thread Julien Grall
Hello, First thing, the time in the mail headers seems to be wrong. Maybe because of a wrong timezone? I got: 04/06/16 02:32 however we are still the 3rd in my timezone. On 04/06/16 02:32, Chenxiao Zhao wrote: On 6/3/2016 3:16 AM, Julien Grall wrote: Hello, On 03/06/16 18:05, Chenxiao Zh

Re: [Xen-devel] questions of vm save/restore on arm64

2016-06-03 Thread Chenxiao Zhao
On 6/3/2016 3:16 AM, Julien Grall wrote: Hello, On 03/06/16 18:05, Chenxiao Zhao wrote: I finally found out that the problem is that the toolstack did not get corret p2m_size while sending all pages on save(always be zero). After I fixed that, the guest could be restored but guest kernel caug

Re: [Xen-devel] questions of vm save/restore on arm64

2016-06-03 Thread Julien Grall
Hello, On 03/06/16 18:05, Chenxiao Zhao wrote: I finally found out that the problem is that the toolstack did not get corret p2m_size while sending all pages on save(always be zero). After I fixed that, the guest could be restored but guest kernel caught handle_mm_fault(). where do you think I'

Re: [Xen-devel] questions of vm save/restore on arm64

2016-06-02 Thread Chenxiao Zhao
On 6/2/2016 5:29 AM, Julien Grall wrote: Hello, On 01/06/16 01:28, Chenxiao Zhao wrote: On 5/30/2016 4:40 AM, Stefano Stabellini wrote: On Fri, 27 May 2016, Chenxiao Zhao wrote: Hi, My board is Hikey on which have octa-core of arm cortex-a53. I have applied patches [1] to try vm save/res

Re: [Xen-devel] questions of vm save/restore on arm64

2016-06-02 Thread Julien Grall
Hello, On 01/06/16 01:28, Chenxiao Zhao wrote: On 5/30/2016 4:40 AM, Stefano Stabellini wrote: On Fri, 27 May 2016, Chenxiao Zhao wrote: Hi, My board is Hikey on which have octa-core of arm cortex-a53. I have applied patches [1] to try vm save/restore on arm. These patches originally do not

Re: [Xen-devel] questions of vm save/restore on arm64

2016-05-31 Thread Chenxiao Zhao
On 5/30/2016 4:40 AM, Stefano Stabellini wrote: On Fri, 27 May 2016, Chenxiao Zhao wrote: Hi, My board is Hikey on which have octa-core of arm cortex-a53. I have applied patches [1] to try vm save/restore on arm. These patches originally do not working on arm64. I have made some changes bas

Re: [Xen-devel] questions of vm save/restore on arm64

2016-05-30 Thread Stefano Stabellini
On Fri, 27 May 2016, Chenxiao Zhao wrote: > Hi,  > > My board is Hikey on which have octa-core of arm cortex-a53. I have applied > patches [1] to try vm save/restore on arm. > These patches originally do not working on arm64. I have made some changes > based on patch set [2]. Hello Chenxiao, t

[Xen-devel] questions of vm save/restore on arm64

2016-05-27 Thread Chenxiao Zhao
Hi, My board is Hikey on which have octa-core of arm cortex-a53. I have applied patches [1] to try vm save/restore on arm. These patches originally do not working on arm64. I have made some changes based on patch set [2]. What I have got so far is 1. if I run 'xl save -p guest memState' to leave