mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
conf: Move numatune_conf to numa_conf
For a while now there are two places that gather information about NUMA related guest configuration. While the XML can't be changed we can at least store the data in one place in the definition. Rename the numatune_conf.[ch] files to numa_conf as later patches will move the rest of the definitions from the cpu definition to this one.
This commit is contained in:
parent
81dd81e475
commit
fcee64e73c
@ -27,7 +27,7 @@ src/conf/netdev_vport_profile_conf.c
|
||||
src/conf/network_conf.c
|
||||
src/conf/networkcommon_conf.c
|
||||
src/conf/node_device_conf.c
|
||||
src/conf/numatune_conf.c
|
||||
src/conf/numa_conf.c
|
||||
src/conf/nwfilter_conf.c
|
||||
src/conf/nwfilter_params.c
|
||||
src/conf/object_event.c
|
||||
|
@ -275,7 +275,7 @@ DOMAIN_CONF_SOURCES = \
|
||||
conf/domain_audit.c conf/domain_audit.h \
|
||||
conf/domain_nwfilter.c conf/domain_nwfilter.h \
|
||||
conf/snapshot_conf.c conf/snapshot_conf.h \
|
||||
conf/numatune_conf.c conf/numatune_conf.h
|
||||
conf/numa_conf.c conf/numa_conf.h
|
||||
|
||||
OBJECT_EVENT_SOURCES = \
|
||||
conf/object_event.c conf/object_event.h \
|
||||
|
@ -38,7 +38,7 @@
|
||||
# include "virsocketaddr.h"
|
||||
# include "networkcommon_conf.h"
|
||||
# include "nwfilter_params.h"
|
||||
# include "numatune_conf.h"
|
||||
# include "numa_conf.h"
|
||||
# include "virnetdevmacvlan.h"
|
||||
# include "virsysinfo.h"
|
||||
# include "virnetdevvportprofile.h"
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* numatune_conf.c
|
||||
* numa_conf.c
|
||||
*
|
||||
* Copyright (C) 2014 Red Hat, Inc.
|
||||
* Copyright (C) 2014-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
|
||||
@ -22,7 +22,7 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#include "numatune_conf.h"
|
||||
#include "numa_conf.h"
|
||||
|
||||
#include "domain_conf.h"
|
||||
#include "viralloc.h"
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* numatune_conf.h
|
||||
* numa_conf.h
|
||||
*
|
||||
* Copyright (C) 2014 Red Hat, Inc.
|
||||
* Copyright (C) 2014-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
|
||||
@ -20,8 +20,8 @@
|
||||
* Author: Martin Kletzander <mkletzan@redhat.com>
|
||||
*/
|
||||
|
||||
#ifndef __NUMATUNE_CONF_H__
|
||||
# define __NUMATUNE_CONF_H__
|
||||
#ifndef __NUMA_CONF_H__
|
||||
# define __NUMA_CONF_H__
|
||||
|
||||
# include <libxml/xpath.h>
|
||||
|
||||
@ -114,4 +114,4 @@ bool virDomainNumatuneNodesetIsAvailable(virDomainNumatunePtr numatune,
|
||||
|
||||
bool virDomainNumatuneNodeSpecified(virDomainNumatunePtr numatune,
|
||||
int cellid);
|
||||
#endif /* __NUMATUNE_CONF_H__ */
|
||||
#endif /* __NUMA_CONF_H__ */
|
@ -625,7 +625,7 @@ virNodeDeviceObjRemove;
|
||||
virNodeDeviceObjUnlock;
|
||||
|
||||
|
||||
# conf/numatune_conf.h
|
||||
# conf/numa_conf.h
|
||||
virDomainNumatuneEquals;
|
||||
virDomainNumatuneFormatNodeset;
|
||||
virDomainNumatuneFormatXML;
|
||||
|
Loading…
Reference in New Issue
Block a user