mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
util: clean up #includes of virnetdevopenvswitch.h
virnetdevopenvswitch.h declares a few functions that can be called to add ports to and remove them from OVS bridges, and retrieve the migration data for a port. It does not contain any data definitions that are used by domain_conf.h. But for some reason, domain_conf.h virnetdevopenvswitch.h should be directly #including it. This adds a few lines to the project, but saves all the files that don't need it from the extra computing, and makes the dependencies more clear cut.
This commit is contained in:
parent
39ac323063
commit
451547a422
@ -42,7 +42,6 @@
|
||||
# include "virnetdevmacvlan.h"
|
||||
# include "virsysinfo.h"
|
||||
# include "virnetdevvportprofile.h"
|
||||
# include "virnetdevopenvswitch.h"
|
||||
# include "virnetdevbandwidth.h"
|
||||
# include "virnetdevvlan.h"
|
||||
# include "virobject.h"
|
||||
|
@ -49,6 +49,7 @@
|
||||
#include "viralloc.h"
|
||||
#include "virnetdevbridge.h"
|
||||
#include "virnetdevveth.h"
|
||||
#include "virnetdevopenvswitch.h"
|
||||
#include "nodeinfo.h"
|
||||
#include "viruuid.h"
|
||||
#include "virstats.h"
|
||||
|
@ -37,6 +37,7 @@
|
||||
#include "virnetdev.h"
|
||||
#include "virnetdevveth.h"
|
||||
#include "virnetdevbridge.h"
|
||||
#include "virnetdevopenvswitch.h"
|
||||
#include "virtime.h"
|
||||
#include "domain_nwfilter.h"
|
||||
#include "network/bridge_driver.h"
|
||||
|
@ -47,6 +47,7 @@
|
||||
#include "virnetdev.h"
|
||||
#include "virnetdevbridge.h"
|
||||
#include "virnetdevtap.h"
|
||||
#include "virnetdevopenvswitch.h"
|
||||
#include "virnetdevmidonet.h"
|
||||
#include "device_conf.h"
|
||||
#include "virstoragefile.h"
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* qemu_migration.c: QEMU migration handling
|
||||
*
|
||||
* Copyright (C) 2006-2014 Red Hat, Inc.
|
||||
* Copyright (C) 2006-2015 Red Hat, Inc.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
@ -45,6 +45,7 @@
|
||||
#include "virerror.h"
|
||||
#include "viralloc.h"
|
||||
#include "virfile.h"
|
||||
#include "virnetdevopenvswitch.h"
|
||||
#include "datatypes.h"
|
||||
#include "fdstream.h"
|
||||
#include "viruuid.h"
|
||||
|
@ -62,6 +62,7 @@
|
||||
#include "virprocess.h"
|
||||
#include "virtime.h"
|
||||
#include "virnetdevtap.h"
|
||||
#include "virnetdevopenvswitch.h"
|
||||
#include "virnetdevmidonet.h"
|
||||
#include "virbitmap.h"
|
||||
#include "viratomic.h"
|
||||
|
Loading…
Reference in New Issue
Block a user