mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-03 21:21:32 +00:00
partially working pvh support
This commit is contained in:
@ -493,7 +493,7 @@ impl XenClient {
|
||||
("virtual-device", id.to_string()),
|
||||
("device-type", "disk".to_string()),
|
||||
("trusted", "1".to_string()),
|
||||
("protocol", "x86_32-abi".to_string()),
|
||||
("protocol", "x86_64-abi".to_string()),
|
||||
];
|
||||
|
||||
self.device_add(
|
||||
|
@ -670,7 +670,15 @@ impl BootSetupPlatform for X86PvhPlatform {
|
||||
domain
|
||||
.consoles
|
||||
.push((evtchn, special_pfn(SPECIALPAGE_CONSOLE)));
|
||||
domain
|
||||
.phys
|
||||
.clear_pages(special_pfn(SPECIALPAGE_CONSOLE), 1)
|
||||
.await?;
|
||||
domain.store_mfn = special_pfn(SPECIALPAGE_XENSTORE);
|
||||
domain
|
||||
.phys
|
||||
.clear_pages(special_pfn(SPECIALPAGE_XENSTORE), 1)
|
||||
.await?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
Reference in New Issue
Block a user