From mboxrd@z Thu Jan 1 00:00:00 1970 From: aq Subject: [PATCH] fix reboot.c Date: Thu, 11 Aug 2005 20:52:19 +0900 Message-ID: <9cde8bff05081104526524b3b6@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_81_5866691.1123761139330" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "List: Xen Developers" List-Id: xen-devel@lists.xenproject.org ------=_Part_81_5866691.1123761139330 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline domU always reports an error "Ignoring shutdown request: -1" when we shutdown it from dom0 (using "xm shutdown" command). This patch fixes it. Signed-off-by: Nguyen Anh Quynh # diffstat reboot2.patch=20 reboot.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) ------=_Part_81_5866691.1123761139330 Content-Type: text/x-patch; name="reboot2.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="reboot2.patch" ZGlmZiAtciBkOTVlYTE3NTY3YzYgbGludXgtMi42LXhlbi1zcGFyc2UvYXJjaC94ZW4va2VybmVs L3JlYm9vdC5jCi0tLSBhL2xpbnV4LTIuNi14ZW4tc3BhcnNlL2FyY2gveGVuL2tlcm5lbC9yZWJv b3QuYwlUaHUgQXVnIDExIDA4OjU5OjQ3IDIwMDUKKysrIGIvbGludXgtMi42LXhlbi1zcGFyc2Uv YXJjaC94ZW4va2VybmVsL3JlYm9vdC5jCVRodSBBdWcgMTEgMjA6NDA6MDkgMjAwNQpAQCAtMjU0 LDcgKzI1NCw4IEBACiAgICAgY2hhciAqc3RyOwogCiAgICAgc3RyID0gKGNoYXIgKil4ZW5idXNf cmVhZCgiY29udHJvbCIsICJzaHV0ZG93biIsIE5VTEwpOwotICAgIGlmIChJU19FUlIoc3RyKSkK KyAgICBpZiAoSVNfRVJSKHN0cil8fAorICAgICAgICAhc3RyY21wKHN0ciwgIi0xIikpICAgICAg LyogaWdub3JlIHJlY3Vyc2l2ZSBzaHV0ZG93biBldmVudCAqLwogICAgICAgICByZXR1cm47CiAK ICAgICB4ZW5idXNfcHJpbnRmKCJjb250cm9sIiwgInNodXRkb3duIiwgIiVpIiwgU0hVVERPV05f SU5WQUxJRCk7Cg== ------=_Part_81_5866691.1123761139330 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ------=_Part_81_5866691.1123761139330--