ia64/xen-unstable

changeset 13046:a407f14478ba

Updated test to match new booting arrangement.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Thu Dec 14 18:30:35 2006 +0000 (2006-12-14)
parents 8b2de97db39d
children d72237b3cc37
files tools/libxen/test/test_bindings.c
line diff
     1.1 --- a/tools/libxen/test/test_bindings.c	Thu Dec 14 20:58:27 2006 +0000
     1.2 +++ b/tools/libxen/test/test_bindings.c	Thu Dec 14 18:30:35 2006 +0000
     1.3 @@ -294,12 +294,12 @@ static void create_new_vm(xen_session *s
     1.4              .actions_after_reboot = XEN_ON_NORMAL_EXIT_RESTART,
     1.5              .actions_after_suspend = XEN_ON_NORMAL_EXIT_DESTROY,
     1.6              .actions_after_crash = XEN_ON_CRASH_BEHAVIOUR_PRESERVE,
     1.7 -            .bios_boot = "hd(0,0)",
     1.8 -            .builder = "Linux",
     1.9 -            .boot_method = XEN_BOOT_TYPE_KERNEL_EXTERNAL,
    1.10 -            .kernel_kernel = "vmlinuz",
    1.11 -            .kernel_initrd = "initrd.img",
    1.12 -            .kernel_args = ""
    1.13 +            .hvm_boot = "",
    1.14 +            .pv_bootloader = "pygrub",
    1.15 +            .pv_kernel = "/boot/vmlinuz-2.6.16.33-xen",
    1.16 +            .pv_ramdisk = "",
    1.17 +            .pv_args = "",
    1.18 +            .pv_bootloader_args = ""
    1.19          };
    1.20  
    1.21  
    1.22 @@ -370,7 +370,7 @@ static void create_new_vm(xen_session *s
    1.23          {
    1.24              .vm = &vm_record_opt,
    1.25              .vdi = &vdi0_record_opt,
    1.26 -            .device = "sda1",
    1.27 +            .device = "xvda1",
    1.28              .mode = XEN_VBD_MODE_RW,
    1.29              .driver = XEN_DRIVER_TYPE_PARAVIRTUALISED
    1.30          };