| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
| |
Any is the preferred over interface{} now in Go.
|
| |
|
|
|
|
|
|
|
|
| |
Enable external abortion of the instance creation process. This is
especially useful for the qemu case where we retry the creation/boot up
to 1000 times, which can take significant time (e.g. it timeouts
syz-cluster pods on unstable kernels).
The context can be further propagated to WaitForSSH, but that requires
another quite significant vm/ refactoring.
|
| |
|
|
|
|
|
|
| |
1. recover the removed comment
2. unnecessary leading newline
3. unnecessary brackets
4. restore dropped "..."
5. use bytes.Equal instead of conversion to string
|
| |
|
|
| |
./tools/syz-env bin/golangci-lint run ./... --fix
|
| | |
|
| |
|
|
| |
It allows to use context as a single termination signal source.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
./tools/syz-env make generate
|
| |
|
|
|
|
|
|
|
| |
Pass Type struct directly during registration.
This allows to add additional optional parameters to VM types
without changing all VM implementations.
We we will need to add SupportsSnapshots flag and one flag to resolve #5028.
With this change it will be possible to add "SupportsSnapshots: true"
to just one VM type implemenetation.
|
| |
|
|
| |
It's better to follow standard interfaces.
|
| |
|
|
| |
This reverts commit 5aa1a7c940d309a8251de3a1fb423ab0cacb6317.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Remove things that are only needed for target VM communication:
conditional compression, timeout scaling, traffic stats.
To minimize diffs when we switch target VM communication to flatrpc.
|
| |
|
|
|
|
|
|
| |
RPC compression take up to 10% of CPU time in profiles,
but it's unlikely to be beneficial for local VM runs
(we are mostly copying memory in this case).
Enable RPC compression based on the VM type
(local VM don't use it, remove machines use it).
|
| | |
|
| |
|
|
|
| |
After the mockery version up I just didn't find better solution.
If you see better approach - please share your idea.
|
| | |
|
| |
|
|
|
|
|
| |
We need the kernel built by Syzkaller to start the VM.
If transfer_file_content is set, pass the image data in addition to the
path. It's sent in the CreatePool RPC, since future CreateInstance RPCs
should use the same image.
|
| |
|
|
|
| |
Instead of just passing the path to the file (on the local machine) to
the ProxyApp, we need to pass the file data. This applies for both calls
to Copy() and CreateInstance().
|
| |
|
|
|
|
|
|
|
|
| |
The "security" field must be set if ProxyApp-over-TCP is used.
If "none", do no authentication
If "tls", do server TLS, optionally using the certificate specified by
"server_tls_cert".
mTLS is unimplemented for now.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|
|
* vm: add pool.Close() support
* vm: add proxyapp client implementation
* vm/proxyapp: autogenerate mocks
* vm/proxyapp: add proxyapp tests
* pkg/mgrconfig: add proxyapp type tests
|