aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxen/test
diff options
context:
space:
mode:
authorEwan Mellor <ewan@xensource.com>2006-12-14 18:30:35 +0000
committerEwan Mellor <ewan@xensource.com>2006-12-14 18:30:35 +0000
commit1c253aa41ef867969786c1c633b5ba4cdcdab1b8 (patch)
treecb21475a1a37b630d8238fdf9b4c6260f9cfb0e8 /tools/libxen/test
parent58295d50273cb4d017b7b5bf754b4930ad45e5c5 (diff)
downloadxen-1c253aa41ef867969786c1c633b5ba4cdcdab1b8.tar.gz
xen-1c253aa41ef867969786c1c633b5ba4cdcdab1b8.tar.bz2
xen-1c253aa41ef867969786c1c633b5ba4cdcdab1b8.zip
Updated test to match new booting arrangement.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'tools/libxen/test')
-rw-r--r--tools/libxen/test/test_bindings.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/libxen/test/test_bindings.c b/tools/libxen/test/test_bindings.c
index d2c54ac3ea..1fd06648a2 100644
--- a/tools/libxen/test/test_bindings.c
+++ b/tools/libxen/test/test_bindings.c
@@ -294,12 +294,12 @@ static void create_new_vm(xen_session *session)
.actions_after_reboot = XEN_ON_NORMAL_EXIT_RESTART,
.actions_after_suspend = XEN_ON_NORMAL_EXIT_DESTROY,
.actions_after_crash = XEN_ON_CRASH_BEHAVIOUR_PRESERVE,
- .bios_boot = "hd(0,0)",
- .builder = "Linux",
- .boot_method = XEN_BOOT_TYPE_KERNEL_EXTERNAL,
- .kernel_kernel = "vmlinuz",
- .kernel_initrd = "initrd.img",
- .kernel_args = ""
+ .hvm_boot = "",
+ .pv_bootloader = "pygrub",
+ .pv_kernel = "/boot/vmlinuz-2.6.16.33-xen",
+ .pv_ramdisk = "",
+ .pv_args = "",
+ .pv_bootloader_args = ""
};
@@ -370,7 +370,7 @@ static void create_new_vm(xen_session *session)
{
.vm = &vm_record_opt,
.vdi = &vdi0_record_opt,
- .device = "sda1",
+ .device = "xvda1",
.mode = XEN_VBD_MODE_RW,
.driver = XEN_DRIVER_TYPE_PARAVIRTUALISED
};