Skip to content

[WIP] feat: launch vms in separate containers with kvm - #429

Open
X1pster wants to merge 3 commits into
mainfrom
use_kvm_for_vms
Open

[WIP] feat: launch vms in separate containers with kvm#429
X1pster wants to merge 3 commits into
mainfrom
use_kvm_for_vms

Conversation

@X1pster

@X1pster X1pster commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@X1pster X1pster self-assigned this Jul 14, 2026
@X1pster X1pster linked an issue Jul 14, 2026 that may be closed by this pull request
@github-actions

github-actions Bot commented Jul 14, 2026

Copy link
Copy Markdown

Coverage

Comment thread docker/compose.yml
Comment thread docker/compose.yml
@nhitar

nhitar commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator

Если мержить этот PR, то стоит переписать kvm в Poky, чтобы запускать чистый qemu, а не через runqemu, так как перетягивается много зависимостей в образ. Для тестов можно использовать уже сейчас

Comment thread scripts/start-vm-yocto.sh
@Artanias Artanias assigned nhitar and unassigned X1pster Jul 19, 2026
Comment thread docker/compose.yml
BUILD_DIR: ${BUILD_DIR}
POKY_DIR: ${POKY_DIR}
OS_IMAGE: ${OS_IMAGE}
VM_RAM: ${QEMU_VM_RAM}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Как будто потеряны значения по RAM для Yocto.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Не помню точно, но скорее всего нигде не используется больше в коде

@Artanias Artanias Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Вообще в main используется чтобы задать RAM для виртуалки.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Мы разве не ограничиваем память через конфиг poky?

# 3Gb RAM
QB_MEM = "-m 3072"

@Artanias Artanias Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VM_RAM: ${QEMU_VM_RAM}

Правда вижу, что оно в OpenSuse попадает, а в Poky не понятно используется ли вообще или нет в итоге.

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.

Оформление статьи 2

3 participants