Re: [Qemu-devel] [PATCH v2 3/4] memory-backend-file: improve error handling

2014-06-17 Thread Michael S. Tsirkin
On Tue, Jun 17, 2014 at 06:09:08PM +0800, Hu Tao wrote: > On Tue, Jun 17, 2014 at 12:03:13PM +0200, Igor Mammedov wrote: > > On Mon, 16 Jun 2014 18:05:43 +0800 > > Hu Tao wrote: > > > > > This patch fixes two problems of memory-backend-file: > > > > > > 1. If user adds a memory-backend-file obje

Re: [Qemu-devel] [PATCH v2 3/4] memory-backend-file: improve error handling

2014-06-17 Thread Hu Tao
On Tue, Jun 17, 2014 at 12:03:13PM +0200, Igor Mammedov wrote: > On Mon, 16 Jun 2014 18:05:43 +0800 > Hu Tao wrote: > > > This patch fixes two problems of memory-backend-file: > > > > 1. If user adds a memory-backend-file object using object_add command, > >specifying a non-existing director

Re: [Qemu-devel] [PATCH v2 3/4] memory-backend-file: improve error handling

2014-06-17 Thread Igor Mammedov
On Mon, 16 Jun 2014 18:05:43 +0800 Hu Tao wrote: > This patch fixes two problems of memory-backend-file: > > 1. If user adds a memory-backend-file object using object_add command, >specifying a non-existing directory for property mem-path, qemu >will core dump with message: > > /no