libvirt-perl.git
21 months agoSet release date for 2.1.0 v2.1.0
Daniel P. Berrange [Tue, 2 Aug 2016 16:44:52 +0000]
Set release date for 2.1.0

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>

21 months agoDon't pass 'flags' param when querying initial typed parameters
Daniel P. Berrange [Fri, 29 Jul 2016 15:39:40 +0000]
Don't pass 'flags' param when querying initial typed parameters

For all the calls to a virDomainSetNNN method which take a
virTypedParameterPtr list, we first call virDomainGetNNN
to get a count of the number of parameters, and/or get their
initial state (so that we know the data types for each
parameter).

Currently we pass the 'flags' parameter into this GetNNN
methods but this breaks if the Perl code has requested
AFFECT_CURRENT | AFFECT_LIVE. The latter is valid for the
SetNNN methods, but not for the GetNNN methods where
AFFECT_CURRENT and AFFECT_LIVE are mutually exclusive.

This calls a call such as

  $dom->set_numa_parameters(
      \%params,
      Sys::Virt::Domain::AFFECT_LIVE |
      Sys::Virt::Domain::AFFECT_CONFIG)}

To result in an error

  Sys::Virt::Error (libvirt error code: 8, message:
    Flags 'VIR_DOMAIN_AFFECT_LIVE' and
    'VIR_DOMAIN_AFFECT_CONFIG' are mutually exclusive

So we should always pass '0' for the flags when calling
the GetNNN methods from a setter

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>

21 months agoDisable -Wshadow warning flag
Daniel P. Berrange [Thu, 28 Jul 2016 09:59:40 +0000]
Disable -Wshadow warning flag

perl-5.24.0 introduces a flaw in its header files which
breaks with -Wshadow

In file included from /usr/lib64/perl5/CORE/perl.h:5860:0,
                 from Virt.xs:22:
/usr/lib64/perl5/CORE/inline.h: In function ‘S_cx_popsub_args’:
/usr/lib64/perl5/CORE/inline.h:526:19: error: declaration of ‘av’ shadows a previous local [-Werror=shadow]
     CX_POP_SAVEARRAY(cx);
                   ^~
In file included from /usr/lib64/perl5/CORE/perl.h:5860:0,
                 from Virt.xs:22:
/usr/lib64/perl5/CORE/inline.h:518:9: note: shadowed declaration is here
     AV *av;
         ^~
cc1: all warnings being treated as errors

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>

21 months agoAdd new memory stats constants
Daniel P. Berrange [Wed, 27 Jul 2016 09:01:58 +0000]
Add new memory stats constants

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>

22 months agoRevert "Add support for VIR_SECRET_USAGE_TYPE_PASSPHRASE"
John Ferlan [Fri, 15 Jul 2016 10:08:26 +0000]
Revert "Add support for VIR_SECRET_USAGE_TYPE_PASSPHRASE"

This reverts commit c74c7608fc1fdb2dc96ca12fcf601ac12990b0ba.

The libvirt changes that caused this were reverted via libvirt.git
commit id 'dae3b965'

22 months agoAdd support for VIR_SECRET_USAGE_TYPE_PASSPHRASE
Martin Kletzander [Mon, 4 Jul 2016 14:29:14 +0000]
Add support for VIR_SECRET_USAGE_TYPE_PASSPHRASE

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>

22 months agoPost-release version bump to 2.1.0
Daniel P. Berrange [Fri, 1 Jul 2016 14:45:41 +0000]
Post-release version bump to 2.1.0

22 months agoSet date for 2.0.0 release v2.0.0
Daniel P. Berrange [Fri, 1 Jul 2016 13:26:29 +0000]
Set date for 2.0.0 release

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>

22 months agoget/set_memory_parameters: Favour virTypedParameter over virMemoryParameter
Michal Privoznik [Tue, 28 Jun 2016 09:54:01 +0000]
get/set_memory_parameters: Favour virTypedParameter over virMemoryParameter

The libvirt-domain.h header file suggests using virTypedParameter
as virMemoryParameter is just ancient alias for it.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>

22 months agoPrefer virTypedParameterPtr over virTypedParameter *
Michal Privoznik [Tue, 28 Jun 2016 09:29:43 +0000]
Prefer virTypedParameterPtr over virTypedParameter *

There's no functional change, this is just a cosmetic fix.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>

22 months agoAdd virDomainGetGuestVcpus and virDomainSetGuestVcpus APIs
Daniel P. Berrange [Mon, 27 Jun 2016 14:55:25 +0000]
Add virDomainGetGuestVcpus and virDomainSetGuestVcpus APIs

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>

22 months agoAdd storage pool events
Daniel P. Berrange [Mon, 27 Jun 2016 08:59:06 +0000]
Add storage pool events

23 months agoAdd VIR_DOMAIN_JOB_AUTO_CONVERGE_THROTTLE constant
Daniel P. Berrange [Fri, 24 Jun 2016 15:48:25 +0000]
Add VIR_DOMAIN_JOB_AUTO_CONVERGE_THROTTLE constant

23 months agoAdd VIR_MIGRATE_PARAM_AUTO_CONVERGE_INITIAL|INCREMENT constants
Daniel P. Berrange [Fri, 24 Jun 2016 15:34:21 +0000]
Add VIR_MIGRATE_PARAM_AUTO_CONVERGE_INITIAL|INCREMENT constants

23 months agoChange next version to 2.0.0
Daniel P. Berrange [Tue, 14 Jun 2016 14:25:29 +0000]
Change next version to 2.0.0

23 months agoBump to 1.3.6 for next release
Daniel P. Berrange [Mon, 6 Jun 2016 11:15:36 +0000]
Bump to 1.3.6 for next release

23 months agoSet date for 1.3.5 release v1.3.5
Daniel P. Berrange [Mon, 6 Jun 2016 11:07:49 +0000]
Set date for 1.3.5 release

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>

23 months agoAdd changelog entry about 'rss' key fix
Daniel P. Berrange [Mon, 6 Jun 2016 11:07:35 +0000]
Add changelog entry about 'rss' key fix

23 months agoFix handling of 'rss' entry in hash of memory stats
Gedalya [Mon, 6 Jun 2016 11:04:37 +0000]
Fix handling of 'rss' entry in hash of memory stats

The string length of the 'rss' key entry was mistakenly
given as 13 bytes instead of 3. It was also not documented.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>

2 years agoExpand description for PERF_PARAM_CMT constant
Michal Privoznik [Thu, 26 May 2016 15:58:26 +0000]
Expand description for PERF_PARAM_CMT constant

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>

2 years agoAdd PERF_PARAM_MBML and PERF_PARAM_MBMT constants
Michal Privoznik [Thu, 26 May 2016 15:57:59 +0000]
Add PERF_PARAM_MBML and PERF_PARAM_MBMT constants

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>

2 years agoAdd VIR_ERR_NO_CLIENT constant
Michal Privoznik [Wed, 4 May 2016 08:16:01 +0000]
Add VIR_ERR_NO_CLIENT constant

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>

2 years agoBump version for next release
Daniel P. Berrange [Wed, 4 May 2016 10:13:52 +0000]
Bump version for next release

2 years agoSet release date for 1.3.4 v1.3.4
Daniel P. Berrange [Wed, 4 May 2016 09:56:11 +0000]
Set release date for 1.3.4

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>

2 years agoAdd VIR_MIGRATE_PARAM_PERSIST_XML constant
Daniel P. Berrange [Tue, 19 Apr 2016 08:43:57 +0000]
Add VIR_MIGRATE_PARAM_PERSIST_XML constant

2 years agoFix array indexs in previous commit
Daniel P. Berrange [Mon, 18 Apr 2016 17:39:59 +0000]
Fix array indexs in previous commit

2 years agoAdd VIR_MIGRATE_PARAM_COMPRESSION* constants
Daniel P. Berrange [Mon, 18 Apr 2016 16:01:13 +0000]
Add VIR_MIGRATE_PARAM_COMPRESSION* constants

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>

2 years agoAdd VIR_STORAGE_VOL_PLOOP constant
Daniel P. Berrange [Mon, 18 Apr 2016 14:02:23 +0000]
Add VIR_STORAGE_VOL_PLOOP constant

2 years agoFix POD error in Domain.pm
Ján Tomko [Thu, 14 Apr 2016 12:48:08 +0000]
Fix POD error in Domain.pm

Previous commit put the =item outside of an =over region.

  Failed test 'POD test for blib/lib/Sys/Virt/Domain.pm'
  at /usr/lib64/perl5/vendor_perl/5.20.2/Test/Pod.pm line 186.
blib/lib/Sys/Virt/Domain.pm (3015): '=item' outside of any '=over'
blib/lib/Sys/Virt/Domain.pm (3019): You forgot a '=back' before '=head2'
Looks like you failed 1 test of 13.

2 years agoAdd VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED constant
Ján Tomko [Thu, 14 Apr 2016 09:15:07 +0000]
Add VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED constant

Point it to _domain_event_device_generic_callback.

2 years agoReuse VIR_DOMAIN_EVENT_ID_DEVICE callbacks
Ján Tomko [Thu, 14 Apr 2016 09:33:02 +0000]
Reuse VIR_DOMAIN_EVENT_ID_DEVICE callbacks

The callbacks for VIR_DOMAIN_EVENT_ID_DEVICE_ADDED and _REMOVED
are identical. Reuse them as _domain_event_device_generic_callback.

2 years agopost release version bump
Daniel P. Berrange [Thu, 7 Apr 2016 17:02:30 +0000]
post release version bump

2 years agoSet release date for 1.3.3 release v1.3.3
Daniel P. Berrange [Thu, 7 Apr 2016 16:55:49 +0000]
Set release date for 1.3.3 release

2 years agoAdd myself to AUTHORS
Michal Privoznik [Sat, 2 Apr 2016 13:20:58 +0000]
Add myself to AUTHORS

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>

2 years agogitignore: Add more files to ignore & reorder
Michal Privoznik [Sat, 2 Apr 2016 13:02:06 +0000]
gitignore: Add more files to ignore & reorder

For instance, on my system not just META.yml is produced by
MYMETA.yml and MYMETA.json too. Also, if you happen to generate
tags or use vim to edit the source code, you'll find some files
useless to track in git.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>

2 years agoAdd APIS & constants for new perf event support
Daniel P. Berrange [Fri, 1 Apr 2016 13:02:05 +0000]
Add APIS & constants for new perf event support

Add binding for virDomainGetPerfEvents,
virDomainSetPerfEvents, VIR_DOMAIN_STATS_PERF,
VIR_PERF_PARAM_CMT, and VIR_FROM_PERF

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>

2 years agoAdd support for virDomainMigratePostCopy and related constants
Daniel P. Berrange [Wed, 23 Mar 2016 11:27:17 +0000]
Add support for virDomainMigratePostCopy and related constants

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>

2 years agoAdd VIR_MIGRATE_PARAM_DISKS_PORT constant
Michal Privoznik [Fri, 18 Mar 2016 13:40:20 +0000]
Add VIR_MIGRATE_PARAM_DISKS_PORT constant

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>

2 years agoAdd VIR_DOMAIN_EVENT_DEFINED_FROM_SNAPSHOT constant
Michal Privoznik [Wed, 16 Mar 2016 07:30:14 +0000]
Add VIR_DOMAIN_EVENT_DEFINED_FROM_SNAPSHOT constant

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>

2 years agoAdd VIR_ERR_NO_SERVER constant
Michal Privoznik [Mon, 14 Mar 2016 13:24:04 +0000]
Add VIR_ERR_NO_SERVER constant

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>

2 years agoAdd VIR_DOMAIN_EVENT_ID_JOB_COMPLETED constant and callback
Daniel P. Berrange [Wed, 9 Mar 2016 11:34:15 +0000]
Add VIR_DOMAIN_EVENT_ID_JOB_COMPLETED constant and callback

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>

2 years agoAdd new global cpu period/quota constants
Daniel P. Berrange [Tue, 1 Mar 2016 15:45:28 +0000]
Add new global cpu period/quota constants

2 years agoAdd VIR_ERR_AUTH_UNAVAILABLE constant
Daniel P. Berrange [Tue, 1 Mar 2016 15:31:56 +0000]
Add VIR_ERR_AUTH_UNAVAILABLE constant

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>

2 years agoPost release version bump to 1.3.3
Daniel P. Berrange [Tue, 1 Mar 2016 15:14:08 +0000]
Post release version bump to 1.3.3

2 years agoSet release date for 1.3.2 v1.3.2
Daniel P. Berrange [Tue, 1 Mar 2016 15:10:12 +0000]
Set release date for 1.3.2

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>

2 years agoAdd VIR_STORAGE_VOL_WIPE_ALG_TRIM constant
Michal Privoznik [Sat, 30 Jan 2016 22:52:13 +0000]
Add VIR_STORAGE_VOL_WIPE_ALG_TRIM constant

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>

2 years agoAdd support for VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION callback
Daniel P. Berrange [Fri, 22 Jan 2016 10:36:42 +0000]
Add support for VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION callback

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>

2 years agoAdd VIR_FROM_XENXL constant
Daniel P. Berrange [Fri, 22 Jan 2016 10:32:28 +0000]
Add VIR_FROM_XENXL constant

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>

2 years agoPost-release version bump to 1.3.2
Daniel P. Berrange [Wed, 20 Jan 2016 10:39:17 +0000]
Post-release version bump to 1.3.2

2 years agoSet date for 1.3.1 release v1.3.1
Daniel P. Berrange [Wed, 20 Jan 2016 10:21:35 +0000]
Set date for 1.3.1 release

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>

2 years agoAdd more domain job guest memory constants
Daniel P. Berrange [Mon, 11 Jan 2016 13:27:37 +0000]
Add more domain job guest memory constants

2 years agoAdd VIR_STORAGE_POOL_CREATE_* constants
Michal Privoznik [Fri, 18 Dec 2015 15:09:59 +0000]
Add VIR_STORAGE_POOL_CREATE_* constants

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>

2 years agoPost release version bump to 1.3.1
Daniel P. Berrange [Thu, 10 Dec 2015 17:52:35 +0000]
Post release version bump to 1.3.1

2 years agoSet release date for 1.3.0 v1.3.0
Daniel P. Berrange [Thu, 10 Dec 2015 17:47:37 +0000]
Set release date for 1.3.0

2 years agoAdd VIR_FROM_LOGGING constant
Michal Privoznik [Wed, 2 Dec 2015 08:59:37 +0000]
Add VIR_FROM_LOGGING constant

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>

2 years agoPost-release version bump to 1.3.0
Pavel Hrdina [Tue, 24 Nov 2015 12:39:31 +0000]
Post-release version bump to 1.3.0

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>

2 years agoBump to 1.2.21 v1.2.21
Daniel P. Berrange [Wed, 11 Nov 2015 13:50:07 +0000]
Bump to 1.2.21

We skipped the 1.2.20 release as there were no API changes.

2 years agoAdd VIR_STORAGE_VOL_DELETE_WITH_SNAPSHOTS constant
Daniel P. Berrange [Fri, 30 Oct 2015 05:44:00 +0000]
Add VIR_STORAGE_VOL_DELETE_WITH_SNAPSHOTS constant

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>

2 years agoPost release version bmp to 1.2.20
Daniel P. Berrange [Thu, 3 Sep 2015 09:13:11 +0000]
Post release version bmp to 1.2.20

2 years agoSet release date for 1.2.19 release v1.2.19
Daniel P. Berrange [Thu, 3 Sep 2015 09:06:01 +0000]
Set release date for 1.2.19 release

2 years agoAdd domain event constants for rename reason
Daniel P. Berrange [Wed, 26 Aug 2015 11:04:33 +0000]
Add domain event constants for rename reason

2 years agoAdd virDomainRename method
Daniel P. Berrange [Wed, 26 Aug 2015 11:02:36 +0000]
Add virDomainRename method

2 years agoAdd VIR_DOMAIN_BANDWIDTH_IN_FLOOR constant
Daniel P. Berrange [Wed, 12 Aug 2015 14:15:26 +0000]
Add VIR_DOMAIN_BANDWIDTH_IN_FLOOR constant

2 years agoPost release version bump to 1.2.19
Daniel P. Berrange [Wed, 12 Aug 2015 14:14:52 +0000]
Post release version bump to 1.2.19

2 years agoSet release date of 1.2.18 v1.2.18
Daniel P. Berrange [Mon, 3 Aug 2015 10:57:03 +0000]
Set release date of 1.2.18

2 years agoEnsure typed param key is null terminated
Daniel P. Berrange [Fri, 17 Jul 2015 16:19:10 +0000]
Ensure typed param key is null terminated

The strncpy() function may leave the result unterminated if
there is no \0 byte in the original string. The coverity
checker thinks vir_typed_param_add_string_list_from_hv()
suffers from this flaw. It is wrong, because all callers
pass a sane key value, but fix it anyway to keep coverity
quiet.

2 years agoAdd VIR_ERR_MIGRATE_FINISH_OK constant
Daniel P. Berrange [Fri, 17 Jul 2015 13:59:08 +0000]
Add VIR_ERR_MIGRATE_FINISH_OK constant

2 years agoPost release version bump to 1.2.18
Daniel P. Berrange [Fri, 17 Jul 2015 13:45:11 +0000]
Post release version bump to 1.2.18

2 years agoSet release date for v1.2.17 v1.2.17
Daniel P. Berrange [Fri, 17 Jul 2015 13:32:33 +0000]
Set release date for v1.2.17

2 years agoUse av_len instead of av_top_index which only new Perl has.
Daniel P. Berrange [Wed, 1 Jul 2015 09:17:24 +0000]
Use av_len instead of av_top_index which only new Perl has.

2 years agoRemove obsolete -Wmudflap arg
Daniel P. Berrange [Wed, 1 Jul 2015 08:44:26 +0000]
Remove obsolete -Wmudflap arg

2 years agoFix some compile warnings in previous commit
Daniel P. Berrange [Wed, 1 Jul 2015 08:44:09 +0000]
Fix some compile warnings in previous commit

2 years agoAdd VIR_DOMAIN_EVENT_WATCHDOG_INJECTNMI constant
Daniel P. Berrange [Tue, 30 Jun 2015 10:43:54 +0000]
Add VIR_DOMAIN_EVENT_WATCHDOG_INJECTNMI constant

2 years agoFix docs typos for migrate_to_uri method
Daniel P. Berrange [Tue, 30 Jun 2015 10:39:49 +0000]
Fix docs typos for migrate_to_uri method

2 years agoAdd VIR_MIGRATE_PARAM_MIGRATE_DISKS constant
Daniel P. Berrange [Tue, 30 Jun 2015 10:15:21 +0000]
Add VIR_MIGRATE_PARAM_MIGRATE_DISKS constant

Add support for string lists in typed parameters to support the
new migrate-disks parameter. Also add example showing its usage
with migrate_to_uri

2 years agoAdd VIR_FROM_ADMIN constant
Daniel P. Berrange [Tue, 16 Jun 2015 16:43:45 +0000]
Add VIR_FROM_ADMIN constant

2 years agoPost-release version bump to 1.2.17
Daniel P. Berrange [Mon, 1 Jun 2015 09:26:24 +0000]
Post-release version bump to 1.2.17

2 years agoSet date for 1.2.16 release v1.2.16
Daniel P. Berrange [Mon, 1 Jun 2015 09:22:48 +0000]
Set date for 1.2.16 release

2 years agoAdd support for virDomainSetUserPassword
Daniel P. Berrange [Fri, 29 May 2015 13:19:37 +0000]
Add support for virDomainSetUserPassword

3 years agoPost-release version bump to 1.2.16
Daniel P. Berrange [Tue, 5 May 2015 16:41:41 +0000]
Post-release version bump to 1.2.16

3 years agoSet release date for 1.2.15 release v1.2.15
Daniel P. Berrange [Tue, 5 May 2015 15:32:22 +0000]
Set release date for 1.2.15 release

3 years agoAdd virDomainAddIOThread and virDomainDelIOThread support
John Ferlan [Tue, 28 Apr 2015 11:18:53 +0000]
Add virDomainAddIOThread and virDomainDelIOThread support

Add support for the new IOThread APIs

3 years agoAdd JOB_TIME_ELAPSED_NET constant
Michal Privoznik [Tue, 28 Apr 2015 09:52:36 +0000]
Add JOB_TIME_ELAPSED_NET constant

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>

3 years agoAdd JOB_DOWNTIME_NET constant
Michal Privoznik [Tue, 28 Apr 2015 09:50:24 +0000]
Add JOB_DOWNTIME_NET constant

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>

3 years agoAdd support for VIR_DOMAIN_EVENT_ID_DEVICE_ADDED
Michal Privoznik [Tue, 28 Apr 2015 09:45:49 +0000]
Add support for VIR_DOMAIN_EVENT_ID_DEVICE_ADDED

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>

3 years agodomain_event_register_any: Align the code
Michal Privoznik [Tue, 28 Apr 2015 09:32:44 +0000]
domain_event_register_any: Align the code

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>

3 years agoUpdate HACKING with some guidance for developers
Daniel P. Berrange [Tue, 28 Apr 2015 10:45:24 +0000]
Update HACKING with some guidance for developers

3 years agoPost-release version bump to 1.2.15
Daniel P. Berrange [Thu, 9 Apr 2015 16:51:41 +0000]
Post-release version bump to 1.2.15

3 years agoUpdates for 1.2.14 release v1.2.14
Daniel P. Berrange [Thu, 9 Apr 2015 16:35:03 +0000]
Updates for 1.2.14 release

3 years agoAdd VIR_FROM_THREAD constant
John Ferlan [Sat, 28 Mar 2015 11:43:00 +0000]
Add VIR_FROM_THREAD constant

3 years agoAdapt to rename of virDomainGetIOThreadsInfo to virDomainGetIOThreadInfo
Ján Tomko [Thu, 26 Mar 2015 11:46:27 +0000]
Adapt to rename of virDomainGetIOThreadsInfo to virDomainGetIOThreadInfo

3 years agoAdapt to rename of virDomainIOThreadsInfoFree to virDomainIOThreadInfoFree
Ján Tomko [Thu, 26 Mar 2015 11:34:42 +0000]
Adapt to rename of virDomainIOThreadsInfoFree to virDomainIOThreadInfoFree

3 years agoAdd VIR_DOMAIN_PAUSED_STARTING_UP constant
Daniel P. Berrange [Wed, 18 Mar 2015 11:14:35 +0000]
Add VIR_DOMAIN_PAUSED_STARTING_UP constant

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>

3 years agoAllow hwaddr to be optional
Daniel P. Berrange [Wed, 18 Mar 2015 10:19:44 +0000]
Allow hwaddr to be optional

3 years agoAdd virDomainInterfaceAddress function & constants
Daniel P. Berrange [Tue, 17 Mar 2015 16:31:30 +0000]
Add virDomainInterfaceAddress function & constants

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>

3 years agoAdd VIR_DOMAIN_TUNABLE_CPU_IOTHREADSPIN constant
Daniel P. Berrange [Mon, 16 Mar 2015 12:13:36 +0000]
Add VIR_DOMAIN_TUNABLE_CPU_IOTHREADSPIN constant

3 years agoFix incorrect method name use when pinning I/O threads
Daniel P. Berrange [Mon, 16 Mar 2015 12:13:03 +0000]
Fix incorrect method name use when pinning I/O threads

3 years agoFix leak of I/O threads pin info
Daniel P. Berrange [Mon, 16 Mar 2015 12:12:44 +0000]
Fix leak of I/O threads pin info

3 years agoUpdate the vcpuinfo.pl example
John Ferlan [Tue, 10 Mar 2015 14:51:15 +0000]
Update the vcpuinfo.pl example

Based on the review of my iothreadsinfo.pl example which I took from
vcpuinfo.pl, this patch updates the vcpuinfo.pl to follow the changes
made in iothreadsinfo.pl

3 years agoAdd virDomainGetIOThreads and virDomainPinIOThread bindings
John Ferlan [Fri, 6 Mar 2015 15:30:30 +0000]
Add virDomainGetIOThreads and virDomainPinIOThread bindings

Test results in the following output:

$ perl examples/iothreadsinfo.pl
Addr
VMM type: QEMU
...
Domain: {
  ID: 2 'f18iothr'
  UUID: fb9f7826-b5d7-4f74-b962-7181ef3fc9ec
  IOThread: {
    affinity: 0010
    number: 1
  }
  IOThread: {
    affinity: 0001
    number: 2
  }
  IOThread: {
    affinity: 1100
    number: 3
  }
}