diff options
| author | Maxim Levitsky | 2020-03-08 10:24:32 +0100 |
|---|---|---|
| committer | Dr. David Alan Gilbert | 2020-03-09 19:05:31 +0100 |
| commit | a2dde2f2210edd4b962035fcb379aeddc11b0273 (patch) | |
| tree | 7f00b98bd976d9bedfac0bbb92928a8d5b2eb6fc /include/sysemu | |
| parent | monitor/hmp: inline add_init_drive (diff) | |
| download | qemu-a2dde2f2210edd4b962035fcb379aeddc11b0273.tar.gz qemu-a2dde2f2210edd4b962035fcb379aeddc11b0273.tar.xz qemu-a2dde2f2210edd4b962035fcb379aeddc11b0273.zip | |
monitor/hmp: rename device-hotplug.c to block/monitor/block-hmp-cmds.c
These days device-hotplug.c only contains the hmp_drive_add
In the next patch, rest of hmp_drive* functions will be moved
there.
Also add block-hmp-cmds.h to contain prototypes of these
functions
License for block-hmp-cmds.h since it contains the code
moved from sysemu.h which lacks license and thus according
to LICENSE is under GPLv2+
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20200308092440.23564-4-mlevitsk@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'include/sysemu')
| -rw-r--r-- | include/sysemu/sysemu.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h index 479d90bcea..ef81302e1a 100644 --- a/include/sysemu/sysemu.h +++ b/include/sysemu/sysemu.h @@ -63,9 +63,6 @@ extern int nb_option_roms; extern const char *prom_envs[MAX_PROM_ENVS]; extern unsigned int nb_prom_envs; -/* generic hotplug */ -void hmp_drive_add(Monitor *mon, const QDict *qdict); - /* pcie aer error injection */ void hmp_pcie_aer_inject_error(Monitor *mon, const QDict *qdict); |
