Re: [Qemu-devel] [PULL 03/34] bootindex: add del_boot_device_path function

2014-10-16 Thread Gonglei
On 2014/10/16 18:04, Peter Maydell wrote: > On 15 October 2014 11:05, Gerd Hoffmann wrote: >> From: Gonglei >> >> Introduce del_boot_device_path() to clean up fw_cfg content when >> hot-unplugging a device that refers to a bootindex or update a >> existent devcie's bootindex. > >> +void del_boo

Re: [Qemu-devel] [PULL 03/34] bootindex: add del_boot_device_path function

2014-10-16 Thread Peter Maydell
On 15 October 2014 11:05, Gerd Hoffmann wrote: > From: Gonglei > > Introduce del_boot_device_path() to clean up fw_cfg content when > hot-unplugging a device that refers to a bootindex or update a > existent devcie's bootindex. > +void del_boot_device_path(DeviceState *dev, const char *suffix) >

[Qemu-devel] [PULL 03/34] bootindex: add del_boot_device_path function

2014-10-15 Thread Gerd Hoffmann
From: Gonglei Introduce del_boot_device_path() to clean up fw_cfg content when hot-unplugging a device that refers to a bootindex or update a existent devcie's bootindex. Signed-off-by: Gonglei Signed-off-by: Chenliang Reviewed-by: Gerd Hoffmann Signed-off-by: Gerd Hoffmann --- bootdevice.c