mirror of
				https://gitlab.com/libvirt/libvirt.git
				synced 2025-10-30 20:24:58 +03:00 
			
		
		
		
	virDomainBlockPeek QEMU and remote support
* qemud/remote.c, qemud/remote_protocol.x, src/remote_internal.c: Remote support. * qemud/remote_dispatch_localvars.h, qemud/remote_dispatch_proc_switch.h, qemud/remote_dispatch_prototypes.h, qemud/remote_protocol.c, qemud/remote_protocol.h: Generated files for remote support. * src/xen_unified.c, src/driver.h, src/libvirt.c: Small fix - pass flags around internally. * src/qemu_driver.c: Support for QEMU. * src/xend_internal.c: Remove redundant fstat call from Xen.
This commit is contained in:
		| @@ -534,6 +534,33 @@ xdr_remote_domain_interface_stats_ret (XDR *xdrs, remote_domain_interface_stats_ | ||||
|         return TRUE; | ||||
| } | ||||
|  | ||||
| bool_t | ||||
| xdr_remote_domain_block_peek_args (XDR *xdrs, remote_domain_block_peek_args *objp) | ||||
| { | ||||
|  | ||||
|          if (!xdr_remote_nonnull_domain (xdrs, &objp->dom)) | ||||
|                  return FALSE; | ||||
|          if (!xdr_remote_nonnull_string (xdrs, &objp->path)) | ||||
|                  return FALSE; | ||||
|          if (!xdr_u_quad_t (xdrs, &objp->offset)) | ||||
|                  return FALSE; | ||||
|          if (!xdr_u_int (xdrs, &objp->size)) | ||||
|                  return FALSE; | ||||
|          if (!xdr_u_int (xdrs, &objp->flags)) | ||||
|                  return FALSE; | ||||
|         return TRUE; | ||||
| } | ||||
|  | ||||
| bool_t | ||||
| xdr_remote_domain_block_peek_ret (XDR *xdrs, remote_domain_block_peek_ret *objp) | ||||
| { | ||||
|         char **objp_cpp0 = (char **) (void *) &objp->buffer.buffer_val; | ||||
|  | ||||
|          if (!xdr_bytes (xdrs, objp_cpp0, (u_int *) &objp->buffer.buffer_len, REMOTE_DOMAIN_BLOCK_PEEK_BUFFER_MAX)) | ||||
|                  return FALSE; | ||||
|         return TRUE; | ||||
| } | ||||
|  | ||||
| bool_t | ||||
| xdr_remote_list_domains_args (XDR *xdrs, remote_list_domains_args *objp) | ||||
| { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user