mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 06:38:27 +02:00
[x86] adjust image defaults for KVM
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22950 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
a2fd8e26d1
commit
84c3ecfb7f
@ -14,8 +14,8 @@ config X86_GRUB_CONSOLE
|
|||||||
config X86_GRUB_SERIAL
|
config X86_GRUB_SERIAL
|
||||||
string "Serial port device"
|
string "Serial port device"
|
||||||
depends X86_GRUB_IMAGES
|
depends X86_GRUB_IMAGES
|
||||||
default "hvc0" if TARGET_x86_xen_domu
|
default "hvc0" if (TARGET_x86_kvm_guest || TARGET_x86_xen_domu)
|
||||||
default "ttyS0"
|
default "ttyS0" if ! (TARGET_x86_kvm_guest || TARGET_x86_xen_domu)
|
||||||
|
|
||||||
config X86_GRUB_BAUDRATE
|
config X86_GRUB_BAUDRATE
|
||||||
int "Serial port baud rate"
|
int "Serial port baud rate"
|
||||||
@ -63,8 +63,9 @@ config TARGET_KERNEL_PARTSIZE
|
|||||||
config TARGET_ROOTFS_PARTNAME
|
config TARGET_ROOTFS_PARTNAME
|
||||||
string "Root partition on target device"
|
string "Root partition on target device"
|
||||||
depends OLPC_BOOTSCRIPT_IMAGES || X86_GRUB_IMAGES
|
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/xvda2" if TARGET_x86_xen_domu
|
||||||
default "/dev/sda2"
|
default "/dev/sda2" if ! (TARGET_x86_kvm_guest || TARGET_x86_xen_domu)
|
||||||
help
|
help
|
||||||
The root partition on the final device. If you don't know,
|
The root partition on the final device. If you don't know,
|
||||||
you probably want the default (/dev/sda2).
|
you probably want the default (/dev/sda2).
|
||||||
|
Loading…
Reference in New Issue
Block a user