Re: [Qemu-devel] [PATCH 2/2] Add monitor command mem-nodes

2013-06-15 Thread Paolo Bonzini
Il 13/06/2013 21:16, Wanlong Gao ha scritto: On 06/14/2013 09:05 AM, Anthony Liguori wrote: Paolo Bonzini pbonz...@redhat.com writes: Il 13/06/2013 08:50, Eduardo Habkost ha scritto: I believe an interface based on guest physical memory addresses is more flexible (and even simpler!) than one

Re: [Qemu-devel] [PATCH 2/2] Add monitor command mem-nodes

2013-06-14 Thread Eduardo Habkost
On Thu, Jun 13, 2013 at 08:04:00PM -0500, Anthony Liguori wrote: Eduardo Habkost ehabk...@redhat.com writes: On Wed, Jun 05, 2013 at 07:57:42AM -0500, Anthony Liguori wrote: Wanlong Gao gaowanl...@cn.fujitsu.com writes: Add monitor command mem-nodes to show the huge mapped memory

Re: [Qemu-devel] [PATCH 2/2] Add monitor command mem-nodes

2013-06-13 Thread Eduardo Habkost
On Thu, Jun 13, 2013 at 09:40:14AM +0800, Wanlong Gao wrote: On 06/11/2013 09:40 PM, Eduardo Habkost wrote: On Tue, Jun 11, 2013 at 03:22:13PM +0800, Wanlong Gao wrote: On 06/05/2013 09:46 PM, Eduardo Habkost wrote: On Wed, Jun 05, 2013 at 11:58:25AM +0800, Wanlong Gao wrote: Add monitor

Re: [Qemu-devel] [PATCH 2/2] Add monitor command mem-nodes

2013-06-13 Thread Paolo Bonzini
Il 13/06/2013 08:50, Eduardo Habkost ha scritto: I believe an interface based on guest physical memory addresses is more flexible (and even simpler!) than one that only allows binding of whole virtual NUMA nodes. And -numa node is already one, what about just adding mem-path=/foo or

Re: [Qemu-devel] [PATCH 2/2] Add monitor command mem-nodes

2013-06-13 Thread Anthony Liguori
Eduardo Habkost ehabk...@redhat.com writes: On Wed, Jun 05, 2013 at 07:57:42AM -0500, Anthony Liguori wrote: Wanlong Gao gaowanl...@cn.fujitsu.com writes: Add monitor command mem-nodes to show the huge mapped memory nodes locations. (qemu) info mem-nodes /proc/14132/fd/13:

Re: [Qemu-devel] [PATCH 2/2] Add monitor command mem-nodes

2013-06-13 Thread Anthony Liguori
Paolo Bonzini pbonz...@redhat.com writes: Il 13/06/2013 08:50, Eduardo Habkost ha scritto: I believe an interface based on guest physical memory addresses is more flexible (and even simpler!) than one that only allows binding of whole virtual NUMA nodes. And -numa node is already one, what

Re: [Qemu-devel] [PATCH 2/2] Add monitor command mem-nodes

2013-06-13 Thread Wanlong Gao
On 06/14/2013 09:05 AM, Anthony Liguori wrote: Paolo Bonzini pbonz...@redhat.com writes: Il 13/06/2013 08:50, Eduardo Habkost ha scritto: I believe an interface based on guest physical memory addresses is more flexible (and even simpler!) than one that only allows binding of whole virtual

Re: [Qemu-devel] [PATCH 2/2] Add monitor command mem-nodes

2013-06-12 Thread Wanlong Gao
On 06/11/2013 09:40 PM, Eduardo Habkost wrote: On Tue, Jun 11, 2013 at 03:22:13PM +0800, Wanlong Gao wrote: On 06/05/2013 09:46 PM, Eduardo Habkost wrote: On Wed, Jun 05, 2013 at 11:58:25AM +0800, Wanlong Gao wrote: Add monitor command mem-nodes to show the huge mapped memory nodes locations.

Re: [Qemu-devel] [PATCH 2/2] Add monitor command mem-nodes

2013-06-11 Thread Wanlong Gao
On 06/05/2013 09:46 PM, Eduardo Habkost wrote: On Wed, Jun 05, 2013 at 11:58:25AM +0800, Wanlong Gao wrote: Add monitor command mem-nodes to show the huge mapped memory nodes locations. This is for machine consumption, so we need a QMP command. (qemu) info mem-nodes /proc/14132/fd/13:

Re: [Qemu-devel] [PATCH 2/2] Add monitor command mem-nodes

2013-06-11 Thread Eduardo Habkost
On Tue, Jun 11, 2013 at 03:22:13PM +0800, Wanlong Gao wrote: On 06/05/2013 09:46 PM, Eduardo Habkost wrote: On Wed, Jun 05, 2013 at 11:58:25AM +0800, Wanlong Gao wrote: Add monitor command mem-nodes to show the huge mapped memory nodes locations. This is for machine consumption, so

Re: [Qemu-devel] [PATCH 2/2] Add monitor command mem-nodes

2013-06-06 Thread Wanlong Gao
On 06/05/2013 11:54 PM, Eduardo Habkost wrote: On Wed, Jun 05, 2013 at 07:57:42AM -0500, Anthony Liguori wrote: Wanlong Gao gaowanl...@cn.fujitsu.com writes: Add monitor command mem-nodes to show the huge mapped memory nodes locations. (qemu) info mem-nodes /proc/14132/fd/13:

Re: [Qemu-devel] [PATCH 2/2] Add monitor command mem-nodes

2013-06-06 Thread Eduardo Habkost
On Thu, Jun 06, 2013 at 05:30:16PM +0800, Wanlong Gao wrote: On 06/05/2013 11:54 PM, Eduardo Habkost wrote: On Wed, Jun 05, 2013 at 07:57:42AM -0500, Anthony Liguori wrote: Wanlong Gao gaowanl...@cn.fujitsu.com writes: Add monitor command mem-nodes to show the huge mapped memory nodes

Re: [Qemu-devel] [PATCH 2/2] Add monitor command mem-nodes

2013-06-05 Thread Eric Blake
On 06/04/2013 09:58 PM, Wanlong Gao wrote: Add monitor command mem-nodes to show the huge mapped memory nodes locations. Missing a QMP counterpart. Libvirt would probably like to use this command, and providing it HMP-only is not friendly. -- Eric Blake eblake redhat com+1-919-301-3266

Re: [Qemu-devel] [PATCH 2/2] Add monitor command mem-nodes

2013-06-05 Thread Anthony Liguori
Wanlong Gao gaowanl...@cn.fujitsu.com writes: Add monitor command mem-nodes to show the huge mapped memory nodes locations. (qemu) info mem-nodes /proc/14132/fd/13: 2ac0-2aaaeac0: node0 /proc/14132/fd/13: 2aaaeac0-2aab2ac0: node1 /proc/14132/fd/14:

Re: [Qemu-devel] [PATCH 2/2] Add monitor command mem-nodes

2013-06-05 Thread Eduardo Habkost
On Wed, Jun 05, 2013 at 11:58:25AM +0800, Wanlong Gao wrote: Add monitor command mem-nodes to show the huge mapped memory nodes locations. This is for machine consumption, so we need a QMP command. (qemu) info mem-nodes /proc/14132/fd/13: 2ac0-2aaaeac0: node0

Re: [Qemu-devel] [PATCH 2/2] Add monitor command mem-nodes

2013-06-05 Thread Eduardo Habkost
On Wed, Jun 05, 2013 at 07:57:42AM -0500, Anthony Liguori wrote: Wanlong Gao gaowanl...@cn.fujitsu.com writes: Add monitor command mem-nodes to show the huge mapped memory nodes locations. (qemu) info mem-nodes /proc/14132/fd/13: 2ac0-2aaaeac0: node0

[Qemu-devel] [PATCH 2/2] Add monitor command mem-nodes

2013-06-04 Thread Wanlong Gao
Add monitor command mem-nodes to show the huge mapped memory nodes locations. (qemu) info mem-nodes /proc/14132/fd/13: 2ac0-2aaaeac0: node0 /proc/14132/fd/13: 2aaaeac0-2aab2ac0: node1 /proc/14132/fd/14: 2aab2ac0-2aab2b00: node0