--- src/remote/remote_driver.c | 1 + src/remote/remote_protocol.x | 10 +++++++++- src/remote_protocol-structs | 7 +++++++ 3 files changed, 17 insertions(+), 1 deletions(-) diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c index 603d589..e01a655 100644 --- a/src/remote/remote_driver.c +++ b/src/remote/remote_driver.c @@ -4306,6 +4306,7 @@ static virDriver remote_driver = { .domainMigratePrepare = remoteDomainMigratePrepare, /* 0.3.2 */ .domainMigratePerform = remoteDomainMigratePerform, /* 0.3.2 */ .domainMigrateFinish = remoteDomainMigrateFinish, /* 0.3.2 */ + .domainBlockResize = remoteDomainBlockResize, /* 0.9.5 */ .domainBlockStats = remoteDomainBlockStats, /* 0.3.2 */ .domainInterfaceStats = remoteDomainInterfaceStats, /* 0.3.2 */ .domainMemoryStats = remoteDomainMemoryStats, /* 0.7.5 */ diff --git a/src/remote/remote_protocol.x b/src/remote/remote_protocol.x index 8f68808..cd98e25 100644 --- a/src/remote/remote_protocol.x +++ b/src/remote/remote_protocol.x @@ -587,6 +587,13 @@ struct remote_domain_block_peek_ret { opaque buffer<REMOTE_DOMAIN_BLOCK_PEEK_BUFFER_MAX>; }; +struct remote_domain_block_resize_args { + remote_nonnull_domain dom; + remote_nonnull_string path; + unsigned hyper size; + unsigned int flags; +}; + struct remote_domain_memory_peek_args { remote_nonnull_domain dom; unsigned hyper offset; @@ -2475,7 +2482,8 @@ enum remote_procedure { REMOTE_PROC_DOMAIN_BLOCK_JOB_SET_SPEED = 239, /* autogen autogen */ REMOTE_PROC_DOMAIN_BLOCK_PULL = 240, /* autogen autogen */ - REMOTE_PROC_DOMAIN_EVENT_BLOCK_JOB = 241 /* skipgen skipgen */ + REMOTE_PROC_DOMAIN_EVENT_BLOCK_JOB = 241, /* skipgen skipgen */ + REMOTE_PROC_DOMAIN_BLOCK_RESIZE = 242 /* autogen autogen */ /* * Notice how the entries are grouped in sets of 10 ? diff --git a/src/remote_protocol-structs b/src/remote_protocol-structs index 91b3ca5..af3046a 100644 --- a/src/remote_protocol-structs +++ b/src/remote_protocol-structs @@ -315,6 +315,12 @@ struct remote_domain_block_peek_ret { char * buffer_val; } buffer; }; +struct remote_domain_block_resize_args { + remote_nonnull_domain dom; + remote_nonnull_string path; + uint64_t size; + u_int flags; +} struct remote_domain_memory_peek_args { remote_nonnull_domain dom; uint64_t offset; @@ -1936,4 +1942,5 @@ enum remote_procedure { REMOTE_PROC_DOMAIN_BLOCK_JOB_SET_SPEED = 239, REMOTE_PROC_DOMAIN_BLOCK_PULL = 240, REMOTE_PROC_DOMAIN_EVENT_BLOCK_JOB = 241, + REMOTE_PROC_DOMAIN_BLOCK_RESIZE = 242, }; -- 1.7.6 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list