NodeSetMemoryParameters is the go wrapper for REMOTE_PROC_NODE_SET_MEMORY_PARAMETERS.
(Params []TypedParam, Flags uint32)
| 13034 | |
| 13035 | // NodeSetMemoryParameters is the go wrapper for REMOTE_PROC_NODE_SET_MEMORY_PARAMETERS. |
| 13036 | func (l *Libvirt) NodeSetMemoryParameters(Params []TypedParam, Flags uint32) (err error) { |
| 13037 | var buf []byte |
| 13038 | |
| 13039 | args := NodeSetMemoryParametersArgs { |
| 13040 | Params: Params, |
| 13041 | Flags: Flags, |
| 13042 | } |
| 13043 | |
| 13044 | buf, err = encode(&args) |
| 13045 | if err != nil { |
| 13046 | return |
| 13047 | } |
| 13048 | |
| 13049 | |
| 13050 | _, err = l.requestStream(288, constants.Program, buf, nil, nil) |
| 13051 | if err != nil { |
| 13052 | return |
| 13053 | } |
| 13054 | |
| 13055 | return |
| 13056 | } |
| 13057 | |
| 13058 | // NodeGetMemoryParameters is the go wrapper for REMOTE_PROC_NODE_GET_MEMORY_PARAMETERS. |
| 13059 | func (l *Libvirt) NodeGetMemoryParameters(Nparams int32, Flags uint32) (rParams []TypedParam, rNparams int32, err error) { |
nothing calls this directly
no test coverage detected