[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 3/4] i386, xen: Add xen_hypervisor and xen_module aliases for
From: |
fu . wei |
Subject: |
[PATCH v2 3/4] i386, xen: Add xen_hypervisor and xen_module aliases for i386 |
Date: |
Thu, 25 Feb 2016 14:39:14 +0800 |
From: Fu Wei <address@hidden>
Signed-off-by: Fu Wei <address@hidden>
---
grub-core/loader/i386/xen.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/grub-core/loader/i386/xen.c b/grub-core/loader/i386/xen.c
index c4d9689..15b0727 100644
--- a/grub-core/loader/i386/xen.c
+++ b/grub-core/loader/i386/xen.c
@@ -689,6 +689,7 @@ fail:
}
static grub_command_t cmd_xen, cmd_initrd, cmd_module, cmd_multiboot;
+static grub_command_t cmd_xen_hypervisor, cmd_xen_module;
GRUB_MOD_INIT (xen)
{
@@ -696,10 +697,14 @@ GRUB_MOD_INIT (xen)
0, N_("Load Linux."));
cmd_multiboot = grub_register_command ("multiboot", grub_cmd_xen,
0, N_("Load Linux."));
+ cmd_xen_hypervisor = grub_register_command ("xen_hypervisor", grub_cmd_xen,
+ 0, N_("Load Linux."));
cmd_initrd = grub_register_command ("initrd", grub_cmd_initrd,
0, N_("Load initrd."));
cmd_module = grub_register_command ("module", grub_cmd_module,
0, N_("Load module."));
+ cmd_xen_module = grub_register_command ("xen_module", grub_cmd_module,
+ 0, N_("Load module."));
my_mod = mod;
}
@@ -709,4 +714,6 @@ GRUB_MOD_FINI (xen)
grub_unregister_command (cmd_initrd);
grub_unregister_command (cmd_multiboot);
grub_unregister_command (cmd_module);
+ grub_unregister_command (cmd_xen_module);
+ grub_unregister_command (cmd_xen_hypervisor);
}
--
2.5.0
- [PATCH v2 1/4] arm64: add "--nounzip" option support in xen_module command, fu . wei, 2016/02/25
- [PATCH v2 2/4] * util/grub.d/20_linux_xen.in: Add xen_boot command support, fu . wei, 2016/02/25
- [PATCH v2 3/4] i386, xen: Add xen_hypervisor and xen_module aliases for i386,
fu . wei <=
- [PATCH v2 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi, fu . wei, 2016/02/25
- Re: [PATCH v2 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi, Andrei Borzenkov, 2016/02/25
- Re: [PATCH v2 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi, Fu Wei, 2016/02/25
- Re: [PATCH v2 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi, Fu Wei, 2016/02/25
- Re: [PATCH v2 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi, Andrei Borzenkov, 2016/02/26
- Re: [PATCH v2 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi, Fu Wei, 2016/02/26
- Re: [PATCH v2 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi, Andrei Borzenkov, 2016/02/26
- Re: [PATCH v2 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi, Fu Wei, 2016/02/26
- Re: [PATCH v2 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi, Vladimir 'φ-coder/phcoder' Serbinenko, 2016/02/26
- Re: [PATCH v2 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi, Fu Wei, 2016/02/26