direct-io.hg

view .hgignore @ 7172:9c6b39746b78

Fix localhost live migration. We were overvigorously wiping out the store
entries when a domain closed and on save, which meant that the /vm entries
disappeared when a localhost migration occurred. XendCheckpoint has had extra
exception handling and logging added. It also now calls back through
XendDomain.restore_,which has the correct locking semantics to prevent race
conditions during migration.

Added assertions to XendCheckpoint to ensure that the channels are set after
XendDomainInfo.restore. I don't see why they would not be, and the old code
meant that in the case that they were not, IntroduceDomain would not be called
on the new domain, breaking Xend restart.

relocate calls through XendDomain.domain_restore_fd rather than directly to
XendCheckpoint to isolate XendCheckpoint from the rest of the world, and to
allow XendDomain to pass itself into XendCheckpoint for a callback.

Simplify the XendCheckpoint / XendDomainInfo interlock, giving only two
states, OK and TERMINATED. If XendCheckpoint asks for a suspend, but sees a
shutdown, it is valid for it to proceed -- either way the domain has stopped.
Higher level tools may wish to disallow this, but at the very least, there is
no sense in waiting for a suspend that will never come.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@ewan
date Tue Oct 04 11:14:50 2005 +0100 (2005-10-04)
parents 9ff1bea68d51
children 62d815160f01 61b3b357d827
line source
1 .*\.a$
2 .*\.cmi$
3 .*\.cmo$
4 .*\.d$
5 .*\.o$
6 .*\.opic$
7 .*\.pyc$
8 .*\.so$
9 .*\.so\..*$
10 .*\.tar\.bz2$
11 .*\.tar\.gz$
12 .*~$
13 ^dist/.*$
14 ^docs/.*\.aux$
15 ^docs/.*\.dvi$
16 ^docs/.*\.log$
17 ^docs/.*\.pdf$
18 ^docs/.*\.ps$
19 ^docs/.*\.toc$
20 ^docs/figs/xenserver\.eps$
21 ^docs/html/.*$
22 ^docs/api/.*$
23 ^docs/interface/WARNINGS$
24 ^docs/interface/images\.pl$
25 ^docs/interface/images\.tex$
26 ^docs/interface/img1\.png$
27 ^docs/interface/index\.html$
28 ^docs/interface/interface\.css$
29 ^docs/interface/interface\.html$
30 ^docs/interface/labels\.pl$
31 ^docs/pdf/.*$
32 ^docs/ps/.*$
33 ^docs/user/WARNINGS$
34 ^docs/user/images\.pl$
35 ^docs/user/images\.tex$
36 ^docs/user/img1\.png$
37 ^docs/user/img2\.png$
38 ^docs/user/img3\.png$
39 ^docs/user/index\.html$
40 ^docs/user/internals\.pl$
41 ^docs/user/labels\.pl$
42 ^docs/user/user\.css$
43 ^docs/user/user\.html$
44 ^extras/mini-os/h/hypervisor-ifs$
45 ^extras/mini-os/h/xen-public$
46 ^extras/mini-os/mini-os\..*$
47 ^install/.*$
48 ^linux-[^/]*-xen0/.*$
49 ^linux-[^/]*-xenU/.*$
50 ^linux-[^/]*-xen/.*$
51 ^linux-[^/]*\.patch$
52 ^mkddbxen$
53 ^netbsd-[^/]*-tools/.*$
54 ^netbsd-[^/]*-xen0/.*$
55 ^netbsd-[^/]*-xenU/.*$
56 ^netbsd-[^/]*\.patch$
57 ^patches/.*/\.makedep$
58 ^patches/ebtables-brnf-5_vs_2\.4\.25\.diff$
59 ^patches/ebtables\.diff$
60 ^patches/tmp/.*$
61 ^pristine-.*$
62 ^ref-.*$
63 ^tools/.*/build/lib.*/.*\.py$
64 ^tools/blktap/Makefile\.smh$
65 ^tools/blktap/blkcow$
66 ^tools/blktap/blkcowgnbd$
67 ^tools/blktap/blkcowimg$
68 ^tools/blktap/blkdump$
69 ^tools/blktap/blkgnbd$
70 ^tools/blktap/blkimg$
71 ^tools/blktap/bstest$
72 ^tools/blktap/vdi\.dot$
73 ^tools/blktap/vdi\.ps$
74 ^tools/blktap/parallax/vdi_create$
75 ^tools/blktap/parallax/vdi_fill$
76 ^tools/blktap/parallax/vdi_list$
77 ^tools/blktap/parallax/vdi_snap$
78 ^tools/blktap/parallax/vdi_snap_list$
79 ^tools/blktap/parallax/vdi_snap_delete$
80 ^tools/blktap/parallax/vdi_tree$
81 ^tools/blktap/parallax/vdi_validate$
82 ^tools/blktap/parallax/parallax$
83 ^tools/blktap/parallax/blockstored$
84 ^tools/blktap/ublkback/ublkback$
85 ^tools/blktap/xen/.*$
86 ^tools/check/\..*$
87 ^tools/console/xenconsoled$
88 ^tools/console/xenconsole$
89 ^tools/debugger/gdb/gdb-6\.2\.1\.tar\.bz2$
90 ^tools/debugger/gdb/gdb-6\.2\.1/.*$
91 ^tools/debugger/gdb/gdb-6\.2\.1-linux-i386-xen/.*$
92 ^tools/debugger/pdb/pdb$
93 ^tools/debugger/pdb/linux-[0-9.]*-module/.*\.ko$
94 ^tools/debugger/pdb/linux-[0-9.]*-module/.*\.mod.c$
95 ^tools/debugger/pdb/linux-[0-9.]*-module/\..*\.cmd$
96 ^tools/debugger/pdb/linux-[0-9.]*-module/.tmp_versions/.*$
97 ^tools/debugger/pdb/._bcdi/.*$
98 ^tools/firmware/acpi/acpigen$
99 ^tools/firmware/.*\.bin$
100 ^tools/firmware/.*\.sym$
101 ^tools/firmware/.*/biossums$
102 ^tools/firmware/.*bios/.*bios.*\.txt$
103 ^tools/firmware/rombios/BIOS-bochs-latest$
104 ^tools/firmware/rombios/_rombios_\.c$
105 ^tools/firmware/rombios/rombios\.s$
106 ^tools/firmware/vmxassist/acpi\.h$
107 ^tools/firmware/vmxassist/gen$
108 ^tools/firmware/vmxassist/offsets\.h$
109 ^tools/firmware/vmxassist/roms\.h$
110 ^tools/firmware/vmxassist/vmxassist$
111 ^tools/firmware/vmxassist/vmxloader$
112 ^tools/ioemu/config-host\..*$
113 ^tools/ioemu/keysym_adapter_sdl\.h$
114 ^tools/ioemu/keysym_adapter_vnc\.h$
115 ^tools/ioemu/target-.*/Makefile$
116 ^tools/ioemu/target-.*/config\..*$
117 ^tools/ioemu/target-.*/qemu-dm$
118 ^tools/libxc/xen/.*$
119 ^tools/misc/cpuperf/cpuperf-perfcntr$
120 ^tools/misc/cpuperf/cpuperf-xen$
121 ^tools/misc/mbootpack/bin2c$
122 ^tools/misc/mbootpack/bootsect$
123 ^tools/misc/mbootpack/bzimage_header\.c$
124 ^tools/misc/mbootpack/mbootpack$
125 ^tools/misc/mbootpack/setup$
126 ^tools/misc/miniterm/miniterm$
127 ^tools/misc/lomount/lomount$
128 ^tools/misc/xc_shadow$
129 ^tools/misc/xen_cpuperf$
130 ^tools/misc/xenperf$
131 ^tools/security/secpol_tool$
132 ^tools/security/xen/.*$
133 ^tools/pygrub/build/.*$
134 ^tools/python/build/.*$
135 ^tools/tests/test_x86_emulator$
136 ^tools/vnet/gc$
137 ^tools/vnet/gc.*/.*$
138 ^tools/vnet/vnet-module/.*\.ko$
139 ^tools/vnet/vnet-module/\..*\.cmd$
140 ^tools/vnet/vnet-module/\.tmp_versions/.*$
141 ^tools/vnet/vnet-module/vnet_module\.mod\..*$
142 ^tools/vtpm/tpm_emulator/.*$
143 ^tools/vtpm/tpm_emulator-.*\.tar\.gz$
144 ^tools/vtpm/vtpm/.*$
145 ^tools/vtpm_manager/manager/vtpm_managerd$
146 ^tools/xcutils/xc_restore$
147 ^tools/xcutils/xc_save$
148 ^tools/xenstat/xentop/xentop$
149 ^tools/xenstore/testsuite/tmp/.*$
150 ^tools/xenstore/xen$
151 ^tools/xenstore/xenstored$
152 ^tools/xenstore/xenstored_test$
153 ^tools/xenstore/xenstore-exists$
154 ^tools/xenstore/xenstore-list$
155 ^tools/xenstore/xenstore-read$
156 ^tools/xenstore/xenstore-rm$
157 ^tools/xenstore/xenstore-write$
158 ^tools/xenstore/xs_dom0_test$
159 ^tools/xenstore/xs_random$
160 ^tools/xenstore/xs_stress$
161 ^tools/xenstore/xs_tdb_dump$
162 ^tools/xenstore/xs_test$
163 ^tools/xenstore/xs_watch_stress$
164 ^tools/xentrace/xenctx$
165 ^tools/xentrace/xentrace$
166 ^xen/BLOG$
167 ^xen/TAGS$
168 ^xen/arch/x86/asm-offsets\.s$
169 ^xen/arch/x86/boot/mkelf32$
170 ^xen/ddb/.*$
171 ^xen/include/asm$
172 ^xen/include/asm-.*/asm-offsets\.h$
173 ^xen/include/hypervisor-ifs/arch$
174 ^xen/include/public/public$
175 ^xen/include/xen/.*\.new$
176 ^xen/include/xen/acm_policy\.h$
177 ^xen/include/xen/banner\.h$
178 ^xen/include/xen/compile\.h$
179 ^xen/tags$
180 ^xen/tools/figlet/figlet$
181 ^xen/tools/symbols$
182 ^xen/xen$
183 ^xen/xen-syms$
184 ^xen/xen\..*$