* grub-core/disk/xen/xendisk.c (grub_xendisk_fini): Set state to
"1" prior to handoff. Reported by: M A Young.
This commit is contained in:
parent
e1aa5b6620
commit
c7995256e4
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2013-11-14 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/disk/xen/xendisk.c (grub_xendisk_fini): Set state to
|
||||
"1" prior to handoff.
|
||||
|
||||
Reported by: M A Young.
|
||||
|
||||
2013-11-14 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/kern/xen/init.c (grub_xenstore_write_file): Don't add
|
||||
|
|
|
@ -449,5 +449,10 @@ grub_xendisk_fini (void)
|
|||
grub_xen_free_shared_page (virtdisks[i].shared_page);
|
||||
|
||||
grub_xen_event_channel_op (EVTCHNOP_close, &close_op);
|
||||
|
||||
/* Prepare for handoff. */
|
||||
grub_snprintf (fdir, sizeof (fdir), "%s/state",
|
||||
virtdisks[i].frontend_dir);
|
||||
grub_xenstore_write_file (fdir, "1", 1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue