# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Node ID a407f14478ba42e9c28247954b720cd0a5c22db7
# Parent 8b2de97db39d34af2eca264aa8a8a7456d59a72c
Updated test to match new booting arrangement.
Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
tools/libxen/test/test_bindings.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff -r 8b2de97db39d -r a407f14478ba tools/libxen/test/test_bindings.c
--- a/tools/libxen/test/test_bindings.c Thu Dec 14 20:58:27 2006 +0000
+++ b/tools/libxen/test/test_bindings.c Thu Dec 14 18:30:35 2006 +0000
@@ -294,12 +294,12 @@ static void create_new_vm(xen_session *s
.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 *s
{
.vm = &vm_record_opt,
.vdi = &vdi0_record_opt,
- .device = "sda1",
+ .device = "xvda1",
.mode = XEN_VBD_MODE_RW,
.driver = XEN_DRIVER_TYPE_PARAVIRTUALISED
};
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|