WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Could HVM domain change memory size by mem-set?

To: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Could HVM domain change memory size by mem-set?
From: "You, Yongkang" <yongkang.you@xxxxxxxxx>
Date: Wed, 23 Jan 2008 18:26:19 +0800
Delivery-date: Wed, 23 Jan 2008 02:27:09 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AchdqmSicpBORYmGRP6wbPgk3g5hng==
Thread-topic: Could HVM domain change memory size by mem-set?
Hi all,

After insert xen-balloon.ko in HVM domain, I tried to resize guest's
memory by "xm mem-set". But guest would panic
Could anybody do it successful?

It would report:
-------------------------
Unable to handle kernel NULL pointer dereference at 000000000000000c
RIP:
[<ffffc2000001a183>]
PGD 27e66067 PUD 27a23067 PMD 0
Oops: 0002 [1]
CPU 0
Modules linked in: xen_balloon xen_platform_pci
Pid: 4, comm: events/0 Not tainted 2.6.18 #1
RIP: 0010:[<ffffc2000001a183>]  [<ffffc2000001a183>]
RSP: 0000:ffff810001ab9da8  EFLAGS: 00010082
RAX: 000000000000000c RBX: 0000000000000200 RCX: ffff810001892368
RDX: ffff810001892358 RSI: ffff810001ab9dc0 RDI: 0000000000001b61
RBP: ffff810001ab9e30 R08: 0000000000000000 R09: 000000000002550c
R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000200
R13: ffffffffffffeb96 R14: 0000000000000246 R15: ffff810001ab9de0
FS:  0000000000000000(0000) GS:ffffffff806d3000(0000)
knlGS:0000000000000000
CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
        CR2: 000000000000000c CR3: 0000000027c75000 CR4:
00000000000006e0
Process events/0 (pid: 4, threadinfo ffff810001ab8000, task
ffff810001a80040)
        Stack:  ffffffff88015390 ffff810027b590c0 0000000001a80080
ffffffff88017760
        0000000000000200 0000000000000000 0000000000007ff0
ffffffff80533425
        ffff810001ab9e60 ffff810001a60c40 ffff810001b576a0
ffff810001a80040
        Call Trace:
        [<ffffffff88015390>] :xen_balloon:balloon_process+0x300/0x3b0
        [<ffffffff80533425>] thread_return+0x0/0xab
        [<ffffffff8023943e>] run_workqueue+0x8e/0xd0
        [<ffffffff802395b1>] worker_thread+0x131/0x170
        [<ffffffff802262d0>] default_wake_function+0x0/0x10
        [<ffffffff802262d0>] default_wake_function+0x0/0x10
        [<ffffffff80239480>] worker_thread+0x0/0x170
        [<ffffffff8023c73a>] kthread+0xda/0x120
        [<ffffffff8020a4d0>] child_rip+0xa/0x12
        [<ffffffff8023c660>] kthread+0x0/0x120
        [<ffffffff8020a4c6>] child_rip+0x0/0x12
        Code: 00 00 0f 01 c1 c3 cc cc cc cc cc cc cc cc cc cc cc cc cc
cc
        RIP  [<ffffc2000001a183>]
        RSP <ffff810001ab9da8>
        CR2: 000000000000000c


Best Regards,
Yongkang You

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Could HVM domain change memory size by mem-set?, You, Yongkang <=