[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v8 01/17] Convert -mem-path to QemuOpts and add
From: |
Michael S. Tsirkin |
Subject: |
Re: [Qemu-devel] [PATCH v8 01/17] Convert -mem-path to QemuOpts and add prealloc and share properties |
Date: |
Mon, 17 Feb 2014 09:56:03 +0200 |
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
Hmm in that case, let's not add prealloc as a property here.
Stick to existing flag for that, this way we don't need
to support 3 ways to do this.
[Qemu-devel] [PATCH v8 03/17] Add chardev API qemu_chr_fe_set_msgfds, Antonios Motakis, 2014/02/13
[Qemu-devel] [PATCH v8 04/17] Add chardev API qemu_chr_fe_get_msgfds, Antonios Motakis, 2014/02/13
[Qemu-devel] [PATCH v8 05/17] Add G_IO_HUP handler for socket chardev, Antonios Motakis, 2014/02/13
[Qemu-devel] [PATCH v8 06/17] vhost_net should call the poll callback only when it is set, Antonios Motakis, 2014/02/13
[Qemu-devel] [PATCH v8 07/17] Refactor virtio-net to use generic get_vhost_net, Antonios Motakis, 2014/02/13
[Qemu-devel] [PATCH v8 08/17] vhost_net_init will use VhostNetOptions to get all its arguments, Antonios Motakis, 2014/02/13
[Qemu-devel] [PATCH v8 09/17] Add vhost_ops to vhost_dev struct and replace all relevant ioctls, Antonios Motakis, 2014/02/13
[Qemu-devel] [PATCH v8 10/17] Add mandatory_features to vhost_dev, Antonios Motakis, 2014/02/13