From 1902d725a09d83285865e63d23d3919556630d0b Mon Sep 17 00:00:00 2001 From: Yin Fengwei Date: Thu, 8 Nov 2018 13:20:57 +0800 Subject: [PATCH] hv: fix partition mode no console issue. Fix the issue that kernel console doesn't work with partition mode. Tracked-On: #1756 Signed-off-by: Yin Fengwei Acked-by: Anthony Xu --- hypervisor/partition/vm_description.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hypervisor/partition/vm_description.c b/hypervisor/partition/vm_description.c index f0ef4c712..230a0df16 100644 --- a/hypervisor/partition/vm_description.c +++ b/hypervisor/partition/vm_description.c @@ -163,8 +163,8 @@ struct vm_description_array vm_desc_partition = { .start_hpa = 0x100000000UL, .mem_size = 0x20000000UL, /* uses contiguous memory from host */ .vm_vuart = true, - .bootargs = "root=/dev/sda rw rootwait noxsave maxcpus=2 nohpet console=hvc0 \ - console=ttyS0 no_timer_check ignore_loglevel log_buf_len=16M \ + .bootargs = "root=/dev/sda3 rw rootwait noxsave maxcpus=2 nohpet console=hvc0 \ + console=ttyS2 no_timer_check ignore_loglevel log_buf_len=16M \ consoleblank=0 tsc=reliable xapic_phys", .vpci_vdev_array = &vpci_vdev_array1, .mptable = &mptable_vm1, @@ -178,8 +178,8 @@ struct vm_description_array vm_desc_partition = { .start_hpa = 0x120000000UL, .mem_size = 0x20000000UL, /* uses contiguous memory from host */ .vm_vuart = true, - .bootargs = "root=/dev/sda rw rootwait noxsave maxcpus=2 nohpet console=hvc0 \ - console=ttyS0 no_timer_check ignore_loglevel log_buf_len=16M \ + .bootargs = "root=/dev/sda3 rw rootwait noxsave maxcpus=2 nohpet console=hvc0 \ + console=ttyS2 no_timer_check ignore_loglevel log_buf_len=16M \ consoleblank=0 tsc=reliable xapic_phys", .vpci_vdev_array = &vpci_vdev_array2, .mptable = &mptable_vm2,