Skip to content

add PassThroughDeviceConfig #[serde(default)] and excluded_devices - #9

Open
bullhh wants to merge 3 commits into
arceos-hypervisor:mainfrom
bullhh:main
Open

add PassThroughDeviceConfig #[serde(default)] and excluded_devices#9
bullhh wants to merge 3 commits into
arceos-hypervisor:mainfrom
bullhh:main

Conversation

@bullhh

@bullhh bullhh commented Sep 25, 2025

Copy link
Copy Markdown

for parser and crate fdt

@bullhh
bullhh requested review from aarkegz and hky1999 September 25, 2025 06:19
Comment thread src/lib.rs

/// A part of `AxVMConfig`, which represents the configuration of a pass-through device for a virtual machine.
#[derive(Debug, Default, Clone, serde::Serialize, serde::Deserialize)]
#[derive(Debug, Default, Clone, PartialEq, serde::Serialize, serde::Deserialize)]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Maybe Eq, PartialEq?

Comment thread src/lib.rs
/// How the VM should handle interrupts and interrupt controllers.
#[serde(default)]
pub interrupt_mode: VMInterruptMode,
///we would not like to pass through devices

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Bad comment format.

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 participants