Proto commits in canonical/multipass

These commits are when the Protocol Buffers files have changed: (only the last 100 relevant commits are shown)

Commit:c9acb46
Author:Céline Noël
Committer:Céline Noël

[cli] Introduce `images` command to replace `find` - Rename all code associated to the `find` command appropriately. - Update documentation and tests to reflect the change from `find` to `images`. - Add `ArgParser::commandName` that returns the name with which the command was invoked. - Update the command so that `images` is the official name, and `find` is an alias for it. In case `find` is used, display a deprecation warning. - Update the autocomplete scripts. - Update the CLI and unit tests so that they check invocations on both `images` and `find`.

Commit:6488981
Author:Céline Noël
Committer:Céline Noël

[cli] Implement `images --remotes` behavior

Commit:a2dd70f
Author:Céline Noël
Committer:Céline Noël

[cli] Update `images` remote filtering # Behavior changes - By default, `images` command only lists images from the "default" remotes (e.g., the release and unspecified ones). - With the `--all` flag, images from all remotes are listed. - In the table formatter, the `Image` column does not show the remote name anymore. It is displayed in a new `Remote` column if and only if the `--all` flag is specified. In case of a default remote, the column shows `(default)` instead of the remote name. - On other formatters, when an image comes from the `release` remote, its remote field will be set to `release` instead of an empty string. # Implementation - Modify `all_info_for` and `all_info_for_impl` to return images from the requested remote only, and call the function one time for each remote we're interested in. - Ensure that the images are properly sorted in the output. - Add auto-completion support.

Commit:a6cc2b8
Author:Céline Noël
Committer:Céline Noël

[cli] Implement `images --remotes` behavior

Commit:f3b30fe
Author:Scott Harder
Committer:Scott Harder

[grpc] Add `snapshots` request/reply msg types

Commit:d5e719a
Author:Ahmed Essam
Committer:Ahmed Essam

[daemon] Report structured readiness errors

Commit:7330f9d
Author:Céline Noël
Committer:Céline Noël

[cli] Implement `images --remotes` behavior

Commit:ed10ca5
Author:Céline Noël
Committer:Céline Noël

[cli] Introduce `images` command to replace `find` - Rename all code associated to the `find` command appropriately. - Update documentation and tests to reflect the change from `find` to `images`. - Add `ArgParser::commandName` that returns the name with which the command was invoked. - Update the command so that `images` is the official name, and `find` is an alias for it. In case `find` is used, display a deprecation warning. - Update the autocomplete scripts. - Update the CLI and unit tests so that they check invocations on both `images` and `find`.

Commit:37b8d7a
Author:Antoni Bertolin Monferrer
Committer:Antoni Bertolin Monferrer

[cli] Add the suspended state to snapshot-restart

Commit:f75083b
Author:Scott Harder
Committer:Scott Harder

[misc] Remove misc usages of 'purge'

Commit:5465ae7
Author:Scott Harder
Committer:Scott Harder

[grpc] Remove old protocol fields

Commit:f1db50b
Author:Scott Harder
Committer:GitHub

[grpc] Add `snapshots` request/reply msg types

Commit:c87412b
Author:Antoni Bertolin Monferrer
Committer:Antoni Bertolin Monferrer

[cli] Add running-only flag

Commit:935eb21
Author:Céline Noël
Committer:Céline Noël

[cli] Introduce `images` command to replace `find` - Rename all code associated to the `find` command appropriately. - Update documentation and tests to reflect the change from `find` to `images`. - Add `ArgParser::commandName` that returns the name with which the command was invoked. - Update the command so that `images` is the official name, and `find` is an alias for it. In case `find` is used, display a deprecation warning. - Update the autocomplete scripts. - Update the CLI and unit tests so that they check invocations on both `images` and `find`.

Commit:0f86a58
Author:Antoni Bertolin Monferrer

[cli] New snapshot cmd behavior

Commit:a59d409
Author:Scott Harder
Committer:Scott Harder

[grpc] Add `snapshots` request/reply msg types

Commit:788e813
Author:Céline Noël
Committer:GitHub

[cli] Update `images` remote filtering # Behavior changes - By default, `images` command only lists images from the "default" remotes (e.g., the release and unspecified ones). - With the `--all` flag, images from all remotes are listed. - In the table formatter, the `Image` column does not show the remote name anymore. It is displayed in a new `Remote` column if and only if the `--all` flag is specified. In case of a default remote, the column shows `(default)` instead of the remote name. - On other formatters, when an image comes from the `release` remote, its remote field will be set to `release` instead of an empty string. # Implementation - Modify `all_info_for` and `all_info_for_impl` to return images from the requested remote only, and call the function one time for each remote we're interested in. - Ensure that the images are properly sorted in the output. - Add auto-completion support.

Commit:bca4d7d
Author:Céline Noël
Committer:GitHub

[cli] Implement `images --remotes` behavior

Commit:fc4d066
Author:Céline Noël
Committer:GitHub

[cli] Introduce `images` command to replace `find` - Rename all code associated to the `find` command appropriately. - Update documentation and tests to reflect the change from `find` to `images`. - Add `ArgParser::commandName` that returns the name with which the command was invoked. - Update the command so that `images` is the official name, and `find` is an alias for it. In case `find` is used, display a deprecation warning. - Update the autocomplete scripts. - Update the CLI and unit tests so that they check invocations on both `images` and `find`.

Commit:828164b
Author:Antoni Bertolin Monferrer

[cli] Add running-only flag

Commit:bc98890
Author:Mustafa Kemal Gilor
Committer:Mustafa Kemal Gilor

[hv-migration] Add removal markers Signed-off-by: Mustafa Kemal Gilor <mustafa.gilor@canonical.com>

Commit:c25efdd
Author:Mustafa Kemal Gilor
Committer:Mustafa Kemal Gilor

[hyperv-migration] Fix review comments

Commit:f9c8fbd
Author:Mustafa Kemal Gilor
Committer:Mustafa Kemal Gilor

[hyperv] Add retained-copy migration Migrate eligible legacy Hyper-V instances during an explicit driver switch while retaining their original registrations and storage. Use isolated HCS records, transactional disk-graph copies, trial boots, and crash recovery so migration failures leave source instances intact. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Commit:e90d7da
Author:Céline Noël
Committer:Céline Noël

[cli] Introduce `images` command to replace `find` - Rename all code associated to the `find` command appropriately. - Update documentation and tests to reflect the change from `find` to `images`. - Add `ArgParser::commandName` that returns the name with which the command was invoked. - Update the command so that `images` is the official name, and `find` is an alias for it. In case `find` is used, display a deprecation warning. - Update the autocomplete scripts. - Update the CLI and unit tests so that they check invocations on both `images` and `find`.

Commit:376fab9
Author:Ahmed Essam
Committer:Ahmed Essam

[daemon] Report structured readiness errors

Commit:b6fed95
Author:Mustafa Kemal Gilor
Committer:Mustafa Kemal Gilor

[hv-migration] Add removal markers Signed-off-by: Mustafa Kemal Gilor <mustafa.gilor@canonical.com>

Commit:ca9b116
Author:Mustafa Kemal Gilor
Committer:Mustafa Kemal Gilor

[hyperv-migration] Fix review comments

Commit:bf806bb
Author:Mustafa Kemal Gilor
Committer:Mustafa Kemal Gilor

[hyperv] Add retained-copy migration Migrate eligible legacy Hyper-V instances during an explicit driver switch while retaining their original registrations and storage. Use isolated HCS records, transactional disk-graph copies, trial boots, and crash recovery so migration failures leave source instances intact. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Commit:b6e8130
Author:Scott Harder

[grpc] Add `snapshots` request/reply msg types

Commit:caf3db4
Author:Mustafa Kemal Gilor
Committer:Mustafa Kemal Gilor

[hv-migration] Add removal markers Signed-off-by: Mustafa Kemal Gilor <mustafa.gilor@canonical.com>

Commit:269ce04
Author:Mustafa Kemal Gilor
Committer:Mustafa Kemal Gilor

[hyperv-migration] Fix review comments

Commit:3477665
Author:Mustafa Kemal Gilor
Committer:Mustafa Kemal Gilor

[hyperv] Add retained-copy migration Migrate eligible legacy Hyper-V instances during an explicit driver switch while retaining their original registrations and storage. Use isolated HCS records, transactional disk-graph copies, trial boots, and crash recovery so migration failures leave source instances intact. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Commit:618357f
Author:Mustafa Kemal Gilor
Committer:Mustafa Kemal Gilor

[hv-migration] Add removal markers Signed-off-by: Mustafa Kemal Gilor <mustafa.gilor@canonical.com>

Commit:1bfe099
Author:Mustafa Kemal Gilor
Committer:Mustafa Kemal Gilor

[hyperv-migration] Fix review comments

Commit:3dfaeef
Author:Mustafa Kemal Gilor
Committer:Mustafa Kemal Gilor

[hyperv] Add retained-copy migration Migrate eligible legacy Hyper-V instances during an explicit driver switch while retaining their original registrations and storage. Use isolated HCS records, transactional disk-graph copies, trial boots, and crash recovery so migration failures leave source instances intact. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Commit:5f9404c
Author:Céline Noël
Committer:Céline Noël

[cli] Introduce `images` command to replace `find` - Rename all code associated to the `find` command appropriately. - Update documentation and tests to reflect the change from `find` to `images`. - Add `ArgParser::commandName` that returns the name with which the command was invoked. - Update the command so that `images` is the official name, and `find` is an alias for it. In case `find` is used, display a deprecation warning. - Update the autocomplete scripts. - Update the CLI and unit tests so that they check invocations on both `images` and `find`.

Commit:0727803
Author:Mustafa Kemal Gilor
Committer:Mustafa Kemal Gilor

[hyperv-migration] Fix review comments

Commit:03c572f
Author:Mustafa Kemal Gilor
Committer:Mustafa Kemal Gilor

[hyperv] Add retained-copy migration Migrate eligible legacy Hyper-V instances during an explicit driver switch while retaining their original registrations and storage. Use isolated HCS records, transactional disk-graph copies, trial boots, and crash recovery so migration failures leave source instances intact. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Commit:890996d
Author:Mustafa Kemal Gilor
Committer:Mustafa Kemal Gilor

[hyperv-migration] Fix review comments

Commit:029aa85
Author:Mustafa Kemal Gilor
Committer:Mustafa Kemal Gilor

[hyperv] Add retained-copy migration Migrate eligible legacy Hyper-V instances during an explicit driver switch while retaining their original registrations and storage. Use isolated HCS records, transactional disk-graph copies, trial boots, and crash recovery so migration failures leave source instances intact. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Commit:8776720
Author:Mustafa Kemal Gilor
Committer:Mustafa Kemal Gilor

[hyperv] Add retained-copy migration Migrate eligible legacy Hyper-V instances during an explicit driver switch while retaining their original registrations and storage. Use isolated HCS records, transactional disk-graph copies, trial boots, and crash recovery so migration failures leave source instances intact. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Commit:63042aa
Author:Céline Noël
Committer:Céline Noël

[cli] Introduce `images` command to replace `find` - Rename all code associated to the `find` command appropriately. - Update documentation and tests to reflect the change from `find` to `images`. - Add `ArgParser::commandName` that returns the name with which the command was invoked. - Update the command so that `images` is the official name, and `find` is an alias for it. In case `find` is used, display a deprecation warning. - Update the autocomplete scripts. - Update the CLI and unit tests so that they check invocations on both `images` and `find`.

Commit:8617cd0
Author:Mustafa Kemal Gilor
Committer:Mustafa Kemal Gilor

[hyperv] Add retained-copy migration Migrate eligible legacy Hyper-V instances during an explicit driver switch while retaining their original registrations and storage. Use isolated HCS records, transactional disk-graph copies, trial boots, and crash recovery so migration failures leave source instances intact. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Commit:571081e
Author:Antoni Bertolin Monferrer
Committer:Antoni Bertolin Monferrer

[proto] Address review comments

Commit:2a33788
Author:Antoni Bertolin Monferrer
Committer:Antoni Bertolin Monferrer

[az] Add TODO comments to remove the changes later

Commit:2a7725e
Author:Antoni Bertolin Monferrer
Committer:Antoni Bertolin Monferrer

[az] Add supported factory function and checks

Commit:f649fb3
Author:Mustafa Kemal Gilor
Committer:Mustafa Kemal Gilor

[hyperv] Add retained-copy migration Migrate eligible legacy Hyper-V instances during an explicit driver switch while retaining their original registrations and storage. Use isolated HCS records, transactional disk-graph copies, trial boots, and crash recovery so migration failures leave source instances intact. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Commit:ca3d99a
Author:Mustafa Kemal Gilor
Committer:Mustafa Kemal Gilor

[hyperv] Add retained-copy migration Migrate eligible legacy Hyper-V instances during an explicit driver switch while retaining their original registrations and storage. Use isolated HCS records, transactional disk-graph copies, trial boots, and crash recovery so migration failures leave source instances intact. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Commit:82d0709
Author:Mustafa Kemal Gilor
Committer:Mustafa Kemal Gilor

[hyperv] Add retained-copy migration Migrate eligible legacy Hyper-V instances during an explicit driver switch while retaining their original registrations and storage. Use isolated HCS records, transactional disk-graph copies, trial boots, and crash recovery so migration failures leave source instances intact. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Commit:5603fd6
Author:Antoni Bertolin Monferrer
Committer:Antoni Bertolin Monferrer

[az] Add TODO comments to remove the changes later

Commit:ecdbcce
Author:Antoni Bertolin Monferrer
Committer:Antoni Bertolin Monferrer

[az] Add supported factory function and checks

Commit:e4d2e57
Author:Mustafa Kemal Gilor

[hyperv] Add retained-copy migration Migrate eligible legacy Hyper-V instances during an explicit driver switch while retaining their original registrations and storage. Use isolated HCS records, transactional disk-graph copies, trial boots, and crash recovery so migration failures leave source instances intact. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Commit:5b7e88c
Author:Antoni Bertolin Monferrer

[az] Add TODO comments to remove the changes later

Commit:61513dd
Author:Antoni Bertolin Monferrer

[az] Add supported factory function and checks

Commit:5409f30
Author:Antoni Bertolin Monferrer
Committer:Antoni Bertolin Monferrer

[proto] Add protobuf transport layer

Commit:de681d7
Author:Antoni Bertolin Monferrer
Committer:Antoni Bertolin Monferrer

[ssh] Add a separate struct to lower dependencies

Commit:0fca303
Author:Antoni Bertolin Monferrer
Committer:Antoni Bertolin Monferrer

[rpc] Introduce SSHCoordinates

Commit:5814384
Author:Jim Porter
Committer:Jim Porter

[az] Remove `INVALID_ZONE` launch error This validation is now handled on the client side.

Commit:75c8133
Author:Jim Porter
Committer:Jim Porter

[az] Remove `INVALID_ZONE` launch error This validation is now handled on the client side.

Commit:2973ed7
Author:Jim Porter

[az] Remove `INVALID_ZONE` launch error This validation is now handled on the client side.

Commit:313cd70
Author:Antoni Bertolin Monferrer
Committer:Antoni Bertolin Monferrer

[ssh] Add a separate struct to lower dependencies

Commit:2df80e7
Author:Antoni Bertolin Monferrer
Committer:Antoni Bertolin Monferrer

[rpc] Introduce SSHCoordinates

Commit:4e13c6b
Author:Antoni Bertolin Monferrer
Committer:Antoni Bertolin Monferrer

[ssh] Add a separate struct to lower dependencies

Commit:181920a
Author:Antoni Bertolin Monferrer
Committer:Antoni Bertolin Monferrer

[rpc] Introduce SSHCoordinates

Commit:a54572c
Author:Antoni Bertolin Monferrer
Committer:Antoni Bertolin Monferrer

[ssh] Add a separate struct to lower dependencies

Commit:7519330
Author:Antoni Bertolin Monferrer
Committer:Antoni Bertolin Monferrer

[rpc] Introduce SSHCoordinates

Commit:06872ff
Author:Antoni Bertolin Monferrer
Committer:Antoni Bertolin Monferrer

[rpc] Introduce SSHCoordinates

Commit:494e824
Author:Mustafa Kemal Gilor
Committer:Mustafa Kemal Gilor

feat(rpc): Add PassthroughDevice, permission_to_bind_vfio, and info field to protobuf Extend LaunchRequest with passthrough_devices list and permission_to_bind_vfio; add devices_need_binding to LaunchReply for interactive host-binding prompts; expose passthrough_devices in DetailedInfoItem for info display. Also add DEVICE_BINDING_REQUIRED error code. Commit 2/9 of GPU passthrough support for Linux/QEMU backend.

Commit:6a4af94
Author:Ahmed Magdy Ali
Committer:Ahmed Magdy Ali

[cli] Use WritesDone to abort restore confirmation Replace the abort flag in RestoreRequest with calling WritesDone() when the terminal is non-interactive. The flag was a custom protocol workaround for something gRPC's stream termination already expresses natively: the daemon's Read() returning false on WritesDone() makes the flag redundant.

Commit:ec84a37
Author:Ahmed Magdy Ali
Committer:Ahmed Magdy Ali

[cli] Abort restore on missing interactive stdin Refactoring the fix by adding an `abort` field to `RestoreRequest`, having the client signal the server to abort, and returning a proper gRPC ABORTED status.

Commit:020f92e
Author:Ricardo Abreu
Committer:Ricardo Abreu

[proto] Tweak type name for consistency

Commit:9c7b53a
Author:Jim Porter
Committer:Jim Porter

[az] Show subnet in `multipass zones`

Commit:2f23160
Author:Ricardo Abreu

[proto] Tweak type name for consistency

Commit:f81691e
Author:Ricardo Abreu

[hackathon] `multipass config`

Commit:9d9a648
Author:Mustafa Kemal Gilor

feat(rpc): Add PassthroughDevice, permission_to_bind_vfio, and info field to protobuf Extend LaunchRequest with passthrough_devices list and permission_to_bind_vfio; add devices_need_binding to LaunchReply for interactive host-binding prompts; expose passthrough_devices in DetailedInfoItem for info display. Also add DEVICE_BINDING_REQUIRED error code. Commit 2/9 of GPU passthrough support for Linux/QEMU backend.

Commit:20917ed
Author:Jim Porter

Merge branch 'main' into availability-zones

Commit:71d99af
Author:Ricardo Abreu
Committer:Ricardo Abreu

[protobuf] Reserve field number and id for IPv6 Addresses review request.

Commit:266cdc0
Author:Ricardo Abreu
Committer:Ricardo Abreu

[ip] Remove ipv6 It has been in the project since 2017 but it was never used, apart from tests. Remove it to have one less spaghetti strand to tie knots with. Let's add it when we need it.

Commit:31b18e3
Author:Scott Harder
Committer:Scott Harder

[daemon] Populate new protobuf with OS info

Commit:a17223c
Author:Scott Harder

[daemon] Populate new protobuf field with OS info

Commit:7ab7b65
Author:Ricardo Abreu
Committer:Ricardo Abreu

[ip] Remove ipv6 It has been in the project since 2017 but it was never used, apart from tests. Remove it to have one less spaghetti strand to tie knots with. Let's add it when we need it.

Commit:bfff3eb
Author:Ricardo Abreu
Committer:Ricardo Abreu

[ip] Remove ipv6 It has been in the project since 2017 but it was never used, apart from tests. Remove it to have one less spaghetti strand to tie knots with. Let's add it when we need it.

Commit:e28e2cd
Author:Ricardo Abreu
Committer:Ricardo Abreu

[ip] Remove ipv6 It has been in the project since 2017 but it was never used, apart from tests. Remove it to have one less spaghetti strand to tie knots with. Let's add it when we need it.

Commit:c1ab8c4
Author:Ricardo Abreu

[ip] Remove ipv6 It has been in the project since 2017 but it was never used, apart from tests. Remove it to have one less spaghetti strand to tie knots with.

Commit:5ec148f
Author:Trevor Shoe
Committer:trevor-shoe

[az] Implement set_available

Commit:11654bd
Author:Lev Kropp
Committer:trevor-shoe

Add enable-zones and disable-zones commands

Commit:975a694
Author:Andrei Toterman
Committer:trevor-shoe

add daemon gRPC boilerplate for AZs # Conflicts: # src/daemon/daemon.h # src/daemon/daemon.cpp # src/daemon/daemon_rpc.cpp # src/daemon/daemon_rpc.h # src/rpc/multipass.proto # tests/mock_client_rpc.h

Commit:39d9260
Author:Lev Kropp
Committer:trevor-shoe

Add enable-zones and disable-zones commands

Commit:78ed23e
Author:Andrei Toterman
Committer:trevor-shoe

add daemon gRPC boilerplate for AZs # Conflicts: # src/daemon/daemon.h # src/daemon/daemon.cpp # src/daemon/daemon_rpc.cpp # src/daemon/daemon_rpc.h # src/rpc/multipass.proto # tests/mock_client_rpc.h

Commit:7fc4c1d
Author:Scott Harder
Committer:Scott Harder

[grpc] Optimize remote_name in FindReply

The documentation is generated from this commit.

Commit:f64cf1c
Author:Antoni Bertolin Monferrer
Committer:Antoni Bertolin Monferrer

[proto] Remove reserved statemets from gRPC API

Commit:87f454d
Author:Antoni Bertolin Monferrer
Committer:Antoni Bertolin Monferrer

[proto] Readjust multipass.proto Since blueprints will be removed, having a show_images boolean is not necessary anymore. Furthermore, the protocol numbers are reserved and commented to avoid future conflicts.

Commit:0cacb1b
Author:Antoni Bertolin Monferrer
Committer:Antoni Bertolin Monferrer

[proto] Remove BP from the gRPC protocol

Commit:c77aacd
Author:Scott Harder
Committer:Scott Harder

[grpc] Optimize remote_name in FindReply

Commit:c904bf7
Author:Antoni Bertolin Monferrer
Committer:Antoni Bertolin Monferrer

[proto] Remove reserved statemets from gRPC API

Commit:a2242a1
Author:Antoni Bertolin Monferrer
Committer:Antoni Bertolin Monferrer

[proto] Readjust multipass.proto Since blueprints will be removed, having a show_images boolean is not necessary anymore. Furthermore, the protocol numbers are reserved and commented to avoid future conflicts.

Commit:f6f53af
Author:Antoni Bertolin Monferrer
Committer:Antoni Bertolin Monferrer

[proto] Remove BP from the gRPC protocol

Commit:2ec0bbc
Author:Scott Harder
Committer:Scott Harder

[grpc] Optimize remote_name in FindReply

Commit:cb630f3
Author:Antoni Bertolin Monferrer
Committer:Antoni Bertolin Monferrer

[proto] Remove reserved statemets from gRPC API

Commit:b06ed90
Author:Antoni Bertolin Monferrer
Committer:Antoni Bertolin Monferrer

[proto] Readjust multipass.proto Since blueprints will be removed, having a show_images boolean is not necessary anymore. Furthermore, the protocol numbers are reserved and commented to avoid future conflicts.