qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2] hmp: solve '\n' in monitor_printf()


From: mike
Subject: Re: [Qemu-devel] [PATCH v2] hmp: solve '\n' in monitor_printf()
Date: Thu, 17 Oct 2013 16:34:46 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8

On 10/17/2013 04:14 PM, Stefan Hajnoczi wrote:
On Wed, Oct 16, 2013 at 11:16:01PM -0400, Mike Qiu wrote:
Change to v1:
        remove '[not inserted]' line instead of adding '\n'

Output of 'info block'

scsi0-hd0: /images/f18-ppc64.qcow2 (qcow2)
  [not inserted]
scsi0-cd2: [not inserted]
     Removable device: not locked, tray closed

floppy0: [not inserted]
     Removable device: not locked, tray closed

sd0: [not inserted]
     Removable device: not locked, tray closed

There will be no additional lines between scsi0-hd0 and
scsi0-cd2.

At the same time, scsi0-hd0 already inserted, but still has
'[not inserted]' flag. This line should be removed.

This patch is to solve this.

Signed-off-by: Mike Qiu <address@hidden>
---
  hmp.c | 2 --
  1 file changed, 2 deletions(-)
The commit message is out-of-date, this patch now drops the bogus "[not
inserted]" output.  I fixed up the commit message.

In the future, please put the patch changelog after the "---" line so
that git am does not include the changelog in the commit description.
OK, Got it, thanks for your kindly remind :)

Thanks
Mike
Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block

Stefan






reply via email to

[Prev in Thread] Current Thread [Next in Thread]