migration: export fewer options
authorSteve Sistare <steven.sistare@oracle.com>
Mon, 11 Mar 2024 17:48:39 +0000 (10:48 -0700)
committerPeter Xu <peterx@redhat.com>
Mon, 11 Mar 2024 20:28:59 +0000 (16:28 -0400)
commitf3bff6c44304a21ea99eeed336672bd46ca102d5
tree7300270140e86578c51cf0ae3cb10178415120cf
parenta1bb5dd169f4e47690a3b53c64692808472171a7
migration: export fewer options

A small number of migration options are accessed by migration clients,
but to see them clients must include all of options.h, which is mostly
for migration core code.  migrate_mode() in particular will be needed by
multiple clients.

Refactor the option declarations so clients can see the necessary few via
misc.h, which already exports a portion of the client API.

Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Link: https://lore.kernel.org/r/1710179319-294320-1-git-send-email-steven.sistare@oracle.com
Signed-off-by: Peter Xu <peterx@redhat.com>
hw/vfio/migration.c
hw/virtio/virtio-balloon.c
include/migration/client-options.h [new file with mode: 0644]
include/migration/misc.h
migration/options.h
system/dirtylimit.c