Maxim Levitsky <mlevi...@redhat.com> writes: > Signed-off-by: Maxim Levitsky <mlevi...@redhat.com> > --- > blockdev-hmp-cmds.c | 97 ++++++++++++++++++++++++++++++++++++++++++++- > blockdev.c | 95 -------------------------------------------- > 2 files changed, 96 insertions(+), 96 deletions(-)
hmp_drive_add() and hmp_drive_del() are now in the same .c, which feels right. Their declarations are still in separate .h. Suggest to move hmp_drive_add() from sysemu/sysemu.h to sysemu/blockdev.h. Or maybe create a separate .h for the block HMP stuff, just like you created a separate .c.