Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
164 changes: 129 additions & 35 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,9 @@ checksum = "1e4b40c7323adcfc0a41c4b88143ed58346ff65a288fc144329c5c45e05d70c6"

[[package]]
name = "bitfield-struct"
version = "0.10.1"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2be5a46ba01b60005ae2c51a36a29cfe134bcacae2dd5cedcd4615fbaad1494b"
checksum = "d3ca019570363e800b05ad4fd890734f28ac7b72f563ad8a35079efb793616f8"
dependencies = [
"proc-macro2",
"quote",
Expand All @@ -337,9 +337,9 @@ dependencies = [

[[package]]
name = "bitfield-struct"
version = "0.11.0"
version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d3ca019570363e800b05ad4fd890734f28ac7b72f563ad8a35079efb793616f8"
checksum = "8769c4854c5ada2852ddf6fd09d15cf43d4c2aaeccb4de6432f5402f08a6003b"
dependencies = [
"proc-macro2",
"quote",
Expand Down Expand Up @@ -369,6 +369,15 @@ dependencies = [
"wyz",
]

[[package]]
name = "block-buffer"
version = "0.10.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
dependencies = [
"generic-array",
]

[[package]]
name = "block-buffer"
version = "0.12.0"
Expand Down Expand Up @@ -943,12 +952,43 @@ version = "0.8.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"

[[package]]
name = "corim"
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "18ae0dacf8af1ae85596c375df3bf848ff57712a8b07d5a9ba36863d901f78d7"
dependencies = [
"corim-macros",
"serde",
"thiserror 2.0.16",
]

[[package]]
name = "corim-macros"
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3c16ee2c7db3dde66570487ea3a6329bd07ca138652b57a3a442c200c75df495"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.106",
]

[[package]]
name = "cpubits"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5ef0c543070d296ea414df2dd7625d1b24866ce206709d8a4a424f28377f5861"

[[package]]
name = "cpufeatures"
version = "0.2.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
dependencies = [
"libc",
]

[[package]]
name = "cpufeatures"
version = "0.3.0"
Expand Down Expand Up @@ -1087,7 +1127,7 @@ dependencies = [
"pkcs8",
"rsa",
"sha1",
"sha2",
"sha2 0.11.0",
"signature",
"symcrypt",
"thiserror 2.0.16",
Expand All @@ -1112,6 +1152,16 @@ dependencies = [
"zeroize",
]

[[package]]
name = "crypto-common"
version = "0.1.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
dependencies = [
"generic-array",
"typenum",
]

[[package]]
name = "crypto-common"
version = "0.2.1"
Expand Down Expand Up @@ -1397,15 +1447,25 @@ version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ab03c107fafeb3ee9f5925686dbb7a73bc76e3932abb0d2b365cb64b169cf04c"

[[package]]
name = "digest"
version = "0.10.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
dependencies = [
"block-buffer 0.10.4",
"crypto-common 0.1.7",
]

[[package]]
name = "digest"
version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4850db49bf08e663084f7fb5c87d202ef91a3907271aff24a94eb97ff039153c"
dependencies = [
"block-buffer",
"block-buffer 0.12.0",
"const-oid",
"crypto-common",
"crypto-common 0.2.1",
]

[[package]]
Expand Down Expand Up @@ -2804,6 +2864,16 @@ dependencies = [
"windows 0.58.0",
]

[[package]]
name = "generic-array"
version = "0.14.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
dependencies = [
"typenum",
"version_check",
]

[[package]]
name = "get_helpers"
version = "0.0.0"
Expand Down Expand Up @@ -3705,28 +3775,29 @@ dependencies = [
[[package]]
name = "igvm"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "67578b05ebcdfa1aa0fe13f77a13bdd7d87036128898a327f1bf8e7356cf09cd"
source = "git+https://github.com/microsoft/igvm?rev=e6c3ff1#e6c3ff1c34c3570e91e6c29bf3375313f5fafc39"
dependencies = [
"bitfield-struct 0.10.1",
"bitfield-struct 0.12.1",
"corim",
"crc32fast",
"hex",
"igvm_defs",
"open-enum",
"range_map_vec",
"sha2 0.10.9",
"static_assertions",
"thiserror 2.0.16",
"tracing",
"uuid",
"zerocopy",
]

[[package]]
name = "igvm_defs"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eedd8c64460676101062f9f2ecdeb52d8f43e622da6a6c5bf5158f4ef08b0906"
source = "git+https://github.com/microsoft/igvm?rev=e6c3ff1#e6c3ff1c34c3570e91e6c29bf3375313f5fafc39"
dependencies = [
"bitfield-struct 0.10.1",
"bitfield-struct 0.12.1",
"open-enum",
"static_assertions",
"zerocopy",
Expand All @@ -3737,7 +3808,10 @@ name = "igvmfilegen"
version = "0.0.0"
dependencies = [
"anyhow",
"bitfield-struct 0.11.0",
"clap",
"corim",
"crypto",
"fs-err",
"hex",
"hvdef",
Expand All @@ -3750,11 +3824,10 @@ dependencies = [
"range_map_vec",
"serde",
"serde_json",
"sha2",
"thiserror 2.0.16",
"sha2 0.11.0",
"test_with_tracing",
"tracing",
"tracing-subscriber",
"vbs_defs",
"x86defs",
"zerocopy",
]
Expand Down Expand Up @@ -5367,7 +5440,7 @@ dependencies = [
"minimal_rt_build",
"page_table",
"safe_intrinsics",
"sha2",
"sha2 0.11.0",
"sidecar_defs",
"static_assertions",
"string_page_buf",
Expand Down Expand Up @@ -6890,11 +6963,11 @@ dependencies = [
"const-oid",
"crypto-bigint",
"crypto-primes",
"digest",
"digest 0.11.2",
"pkcs1",
"pkcs8",
"rand_core",
"sha2",
"sha2 0.11.0",
"signature",
"spki",
"zeroize",
Expand Down Expand Up @@ -7416,8 +7489,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aacc4cc499359472b4abe1bf11d0b12e688af9a805fa5e3016f9a386dc2d0214"
dependencies = [
"cfg-if",
"cpufeatures",
"digest",
"cpufeatures 0.3.0",
"digest 0.11.2",
]

[[package]]
name = "sha1_smol"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bbfa15b3dddfee50a0fff136974b3e1bde555604ba463834a7eb7deb6417705d"

[[package]]
name = "sha2"
version = "0.10.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
dependencies = [
"cfg-if",
"cpufeatures 0.2.17",
"digest 0.10.7",
]

[[package]]
Expand All @@ -7427,8 +7517,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4"
dependencies = [
"cfg-if",
"cpufeatures",
"digest",
"cpufeatures 0.3.0",
"digest 0.11.2",
]

[[package]]
Expand Down Expand Up @@ -7528,7 +7618,7 @@ version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "28d567dcbaf0049cb8ac2608a76cd95ff9e4412e1899d389ee400918ca7537f5"
dependencies = [
"digest",
"digest 0.11.2",
"rand_core",
]

Expand Down Expand Up @@ -9073,29 +9163,33 @@ version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"

[[package]]
name = "uuid"
version = "1.23.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "144d6b123cef80b301b8f72a9e2ca4370ddec21950d0a103dd22c437006d2db7"
dependencies = [
"sha1_smol",
]

[[package]]
name = "valuable"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65"

[[package]]
name = "vbs_defs"
version = "0.0.0"
dependencies = [
"bitfield-struct 0.11.0",
"igvm_defs",
"open_enum",
"static_assertions",
"zerocopy",
]

[[package]]
name = "vcpkg"
version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"

[[package]]
name = "version_check"
version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"

[[package]]
name = "vfio-bindings"
version = "0.4.0"
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,6 @@ igvmfilegen_config = { path = "vm/loader/igvmfilegen_config" }
loader_defs = { path = "vm/loader/loader_defs" }
page_table = { path = "vm/loader/page_table" }
page_pool_alloc = { path = "vm/page_pool_alloc" }
vbs_defs = { path = "vm/vbs_defs" }
vmgs = { path = "vm/vmgs/vmgs" }
vmgs_broker = { path = "vm/vmgs/vmgs_broker" }
vmgs_format = { path = "vm/vmgs/vmgs_format" }
Expand Down Expand Up @@ -499,6 +498,7 @@ target-lexicon = "0.13.2"
base64 = "0.22.1"
base64-serde = "0.8"
cargo_toml = "0.22"
corim = "0.1.3"
heck = "0.5"
hex = "0.4"
pbjson = "0.5"
Expand Down Expand Up @@ -612,8 +612,8 @@ iced-x86 = { version = "1.17", default-features = false, features = [
"no_xop",
"no_d3now",
] }
igvm = "0.4.0"
igvm_defs = { version = "0.4.0", default-features = false }
igvm = { git = "https://github.com/microsoft/igvm", rev = "e6c3ff1" }
igvm_defs = { git = "https://github.com/microsoft/igvm", rev = "e6c3ff1", default-features = false }
kvm-bindings = "0.14.0"
mshv-bindings = "0.6.8"
mshv-ioctls = "0.6.8"
Expand Down
12 changes: 12 additions & 0 deletions flowey/flowey_lib_hvlite/src/_jobs/local_build_igvm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -301,11 +301,23 @@ impl SimpleFlowNode for Node {
igvm_tdx_json,
igvm_snp_json,
igvm_vbs_json,
igvm_tdx_corim,
igvm_snp_corim,
igvm_vbs_corim,
}) = openhcl_igvm.endorsements()
{
fs_err::copy(igvm_tdx_json, output_dir.join("openhcl-tdx.json"))?;
fs_err::copy(igvm_snp_json, output_dir.join("openhcl-snp.json"))?;
fs_err::copy(igvm_vbs_json, output_dir.join("openhcl-vbs.json"))?;
if let Some(igvm_tdx_corim) = igvm_tdx_corim {
fs_err::copy(igvm_tdx_corim, output_dir.join("openhcl-tdx.cbor"))?;
}
if let Some(igvm_snp_corim) = igvm_snp_corim {
fs_err::copy(igvm_snp_corim, output_dir.join("openhcl-snp.cbor"))?;
}
if let Some(igvm_vbs_corim) = igvm_vbs_corim {
fs_err::copy(igvm_vbs_corim, output_dir.join("openhcl-vbs.cbor"))?;
}
}
for e in fs_err::read_dir(output_dir)? {
let e = e?;
Expand Down
Loading
Loading