mirror of https://gitee.com/openkylin/libvirt.git
qemuBuildStorageSourceAttachPrepare(Drive|Chardev): Unexport
Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
15e769bd9b
commit
5dc77b7d32
|
@ -11104,7 +11104,7 @@ qemuBuildHotpluggableCPUProps(const virDomainVcpuDef *vcpu)
|
||||||
* Prepare qemuBlockStorageSourceAttachData *for use with the old approach
|
* Prepare qemuBlockStorageSourceAttachData *for use with the old approach
|
||||||
* using -drive/drive_add. See qemuBlockStorageSourceAttachPrepareBlockdev.
|
* using -drive/drive_add. See qemuBlockStorageSourceAttachPrepareBlockdev.
|
||||||
*/
|
*/
|
||||||
qemuBlockStorageSourceAttachData *
|
static qemuBlockStorageSourceAttachData *
|
||||||
qemuBuildStorageSourceAttachPrepareDrive(virDomainDiskDef *disk,
|
qemuBuildStorageSourceAttachPrepareDrive(virDomainDiskDef *disk,
|
||||||
virQEMUCaps *qemuCaps)
|
virQEMUCaps *qemuCaps)
|
||||||
{
|
{
|
||||||
|
@ -11127,7 +11127,7 @@ qemuBuildStorageSourceAttachPrepareDrive(virDomainDiskDef *disk,
|
||||||
* Prepare qemuBlockStorageSourceAttachData *for vhost-user disk
|
* Prepare qemuBlockStorageSourceAttachData *for vhost-user disk
|
||||||
* to be used with -chardev.
|
* to be used with -chardev.
|
||||||
*/
|
*/
|
||||||
qemuBlockStorageSourceAttachData *
|
static qemuBlockStorageSourceAttachData *
|
||||||
qemuBuildStorageSourceAttachPrepareChardev(virDomainDiskDef *disk)
|
qemuBuildStorageSourceAttachPrepareChardev(virDomainDiskDef *disk)
|
||||||
{
|
{
|
||||||
g_autoptr(qemuBlockStorageSourceAttachData) data = NULL;
|
g_autoptr(qemuBlockStorageSourceAttachData) data = NULL;
|
||||||
|
|
|
@ -106,13 +106,6 @@ qemuBuildNicDevProps(virDomainDef *def,
|
||||||
char *qemuDeviceDriveHostAlias(virDomainDiskDef *disk);
|
char *qemuDeviceDriveHostAlias(virDomainDiskDef *disk);
|
||||||
bool qemuDiskBusIsSD(int bus);
|
bool qemuDiskBusIsSD(int bus);
|
||||||
|
|
||||||
qemuBlockStorageSourceAttachData *
|
|
||||||
qemuBuildStorageSourceAttachPrepareDrive(virDomainDiskDef *disk,
|
|
||||||
virQEMUCaps *qemuCaps);
|
|
||||||
|
|
||||||
qemuBlockStorageSourceAttachData *
|
|
||||||
qemuBuildStorageSourceAttachPrepareChardev(virDomainDiskDef *disk);
|
|
||||||
|
|
||||||
int
|
int
|
||||||
qemuBuildStorageSourceAttachPrepareCommon(virStorageSource *src,
|
qemuBuildStorageSourceAttachPrepareCommon(virStorageSource *src,
|
||||||
qemuBlockStorageSourceAttachData *data);
|
qemuBlockStorageSourceAttachData *data);
|
||||||
|
|
Loading…
Reference in New Issue