Skip to content

Split cvd start into create and start#661

Merged
jemoreira merged 3 commits intogoogle:mainfrom
jemoreira:main
Aug 9, 2024
Merged

Split cvd start into create and start#661
jemoreira merged 3 commits intogoogle:mainfrom
jemoreira:main

Conversation

@jemoreira
Copy link
Copy Markdown
Member

Split cvd start functionality into two commands

The commands are

  • create: Creates the new instance groups, allocates instance ids and its
    locks under /tmp/acloud_cvd_temp. There is an option to start groups
    immediately after creation, enabled by default.
  • start: Starts existing instance groups that are not currently running.

@jemoreira jemoreira force-pushed the main branch 2 times, most recently from 9382e2d to 40bc23a Compare August 9, 2024 17:29
@jemoreira jemoreira requested a review from ser-io August 9, 2024 17:29
The remove command attempts to stop devices first based on their state.
If the device is not really running stop fails, but remove should still
remove the instance from the database.
The commands are
- create: Creates the new instance groups, allocates instance ids and its
locks under /tmp/acloud_cvd_temp. There is an option to start groups
immediately after creation, enabled by default.
- start:  Starts existing instance groups that are not currently running.

These are in addition to the existing stop and remove commands, that are
the complements to start and create respectively.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants