mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-13 17:49:16 +00:00
f2bc59e48e
All the public APIs of the qemu_blockjob module operate on a 'disk'. Since I'll be adding APIs which operate on a job later let's rename the existing ones. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
40 lines
1.4 KiB
C
40 lines
1.4 KiB
C
/*
|
|
* qemu_blockjob.h: helper functions for QEMU block jobs
|
|
*
|
|
* Copyright (C) 2006-2015 Red Hat, Inc.
|
|
* Copyright (C) 2006 Daniel P. Berrange
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library. If not, see
|
|
* <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef LIBVIRT_QEMU_BLOCKJOB_H
|
|
# define LIBVIRT_QEMU_BLOCKJOB_H
|
|
|
|
# include "internal.h"
|
|
# include "qemu_conf.h"
|
|
# include "qemu_domain.h"
|
|
|
|
int qemuBlockJobUpdateDisk(virDomainObjPtr vm,
|
|
qemuDomainAsyncJob asyncJob,
|
|
virDomainDiskDefPtr disk,
|
|
char **error);
|
|
|
|
void qemuBlockJobSyncBeginDisk(virDomainDiskDefPtr disk);
|
|
void qemuBlockJobSyncEndDisk(virDomainObjPtr vm,
|
|
qemuDomainAsyncJob asyncJob,
|
|
virDomainDiskDefPtr disk);
|
|
|
|
#endif /* LIBVIRT_QEMU_BLOCKJOB_H */
|