diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-09-06 02:31:37 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-09-06 02:31:37 +0000 |
commit | 84c3ecfb7f0d10981b82ce311d20217479096946 (patch) | |
tree | 14e1f40811eb7b11846e54aa04620bf359dd9ee4 /target/linux/x86 | |
parent | a2fd8e26d130d3a30b0a1805ddaaa09002edf9cd (diff) |
[x86] adjust image defaults for KVM
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22950 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/x86')
-rw-r--r-- | target/linux/x86/image/Config.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/target/linux/x86/image/Config.in b/target/linux/x86/image/Config.in index 308f85cca..ac7510edb 100644 --- a/target/linux/x86/image/Config.in +++ b/target/linux/x86/image/Config.in @@ -14,8 +14,8 @@ config X86_GRUB_CONSOLE config X86_GRUB_SERIAL string "Serial port device" depends X86_GRUB_IMAGES - default "hvc0" if TARGET_x86_xen_domu - default "ttyS0" + default "hvc0" if (TARGET_x86_kvm_guest || TARGET_x86_xen_domu) + default "ttyS0" if ! (TARGET_x86_kvm_guest || TARGET_x86_xen_domu) config X86_GRUB_BAUDRATE int "Serial port baud rate" @@ -63,8 +63,9 @@ config TARGET_KERNEL_PARTSIZE config TARGET_ROOTFS_PARTNAME string "Root partition on target device" depends OLPC_BOOTSCRIPT_IMAGES || X86_GRUB_IMAGES + default "/dev/vda2" if TARGET_x86_kvm_guest default "/dev/xvda2" if TARGET_x86_xen_domu - default "/dev/sda2" + default "/dev/sda2" if ! (TARGET_x86_kvm_guest || TARGET_x86_xen_domu) help The root partition on the final device. If you don't know, you probably want the default (/dev/sda2). |