|
From: | Antonios Motakis |
Subject: | Re: [Qemu-devel] [PATCH v8 01/17] Convert -mem-path to QemuOpts and add prealloc and share properties |
Date: | Mon, 17 Feb 2014 14:04:45 +0100 |
Hmm in that case, let's not add prealloc as a property here.On Mon, Feb 17, 2014 at 12:42:45AM +0100, Paolo Bonzini wrote:
> Il 15/02/2014 19:10, Michael Tokarev ha scritto:
> > 13 февраля 2014 г. 16:03:12 GMT+04:00, Antonios Motakis <address@hidden> пишет:
> >> Extend -mem-path with additional properties:
> >>
> >> - prealloc=on|off - default off, same as -mem-prealloc
> >> - share=on|off - default off, memory is mmapped with MAP_SHARED
> >
> > Maybe we should combine -m and -mem-path options together to form something more sane?
>
> It's on the way: it would be something like
>
> -object mem-file,size=1024M,path=/path/to/foo,share=on,prealloc=on,id=mem \
> -numa node,memdev=mem
>
> using the same host/guest split model that is already in use
> in many other places. Not 2.0 material though.
>
> Paolo
Stick to existing flag for that, this way we don't need
to support 3 ways to do this.
[Prev in Thread] | Current Thread | [Next in Thread] |