Page MenuHomeFreeBSD

D36191.1782939660.diff
No OneTemporary

Size
467 B
Referenced Files
None
Subscribers
None

D36191.1782939660.diff

Index: sys/x86/xen/pv.c
===================================================================
--- sys/x86/xen/pv.c
+++ sys/x86/xen/pv.c
@@ -421,7 +421,10 @@
(char *)(start_info->cmdline_paddr + KERNBASE),
", \t\n");
kmdp = NULL;
- strlcpy(bootmethod, "XEN", sizeof(bootmethod));
+ if (isxen())
+ strlcpy(bootmethod, "XEN", sizeof(bootmethod));
+ else
+ strlcpy(bootmethod, "PVH", sizeof(bootmethod));
}
boothowto |= boot_env_to_howto();

File Metadata

Mime Type
text/plain
Expires
Wed, Jul 1, 9:01 PM (9 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29001084
Default Alt Text
D36191.1782939660.diff (467 B)

Event Timeline