mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
libxl: migration: Use 'unsigned int' for flags
Fix the type for few internal functions. Externally the APIs were already limiting 'flags' to 'unsigned int'. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
2f8968ff76
commit
b4f8313787
@ -329,7 +329,7 @@ libxlMigrateDstReceive(virNetSocket *sock,
|
|||||||
static int
|
static int
|
||||||
libxlDoMigrateSrcSend(libxlDriverPrivate *driver,
|
libxlDoMigrateSrcSend(libxlDriverPrivate *driver,
|
||||||
virDomainObj *vm,
|
virDomainObj *vm,
|
||||||
unsigned long flags,
|
unsigned int flags,
|
||||||
int sockfd)
|
int sockfd)
|
||||||
{
|
{
|
||||||
libxlDriverConfig *cfg = libxlDriverConfigGet(driver);
|
libxlDriverConfig *cfg = libxlDriverConfigGet(driver);
|
||||||
@ -877,7 +877,7 @@ struct libxlTunnelControl {
|
|||||||
static int
|
static int
|
||||||
libxlMigrationSrcStartTunnel(libxlDriverPrivate *driver,
|
libxlMigrationSrcStartTunnel(libxlDriverPrivate *driver,
|
||||||
virDomainObj *vm,
|
virDomainObj *vm,
|
||||||
unsigned long flags,
|
unsigned int flags,
|
||||||
virStreamPtr st,
|
virStreamPtr st,
|
||||||
struct libxlTunnelControl **tnl)
|
struct libxlTunnelControl **tnl)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user