<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>475</bug_id>
          
          <creation_ts>2010-10-15 08:42:24 +0000</creation_ts>
          <short_desc>[qemux86]fail to reboot</short_desc>
          <delta_ts>2011-01-07 17:30:55 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>0.9</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>0.9 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kunwei Tian">kunwei.tian</reporter>
          <assigned_to name="Scott Garman">scott.a.garman</assigned_to>
          <cc>jiajun.xu</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>scott.a.garman</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          <cf_verified>Program Management</cf_verified>
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>10596</commentid>
    <comment_count>0</comment_count>
    <who name="Kunwei Tian">kunwei.tian</who>
    <bug_when>2010-10-15 08:42:24 +0000</bug_when>
    <thetext>=&gt;Testing Environment:    

  Qemux86 sato ,Qemux86 sdk
  
  Image from
http://yoctobuild01.jf.intel.com/milestone/20101014/qemu/qemux86/poky-image-
sdk-qemux86-20101014212122.rootfs.ext3 

http://yoctobuild01.jf.intel.com/milestone/20101014/qemu/qemux86/poky-image-sato-qemux86-20101014213758.rootfs.ext3  



=&gt;Bug Descript

  fail to reboot 




=&gt;Reproduce Steps:

1.run poky-qemu;
2.launch terminal;
3.run command &quot;reboot&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10609</commentid>
    <comment_count>1</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2010-10-15 19:02:06 +0000</bug_when>
    <thetext>Is this failure to reboot expected following this commit:

&quot;Scott has made sure qemu will terminate if the guest reboots in commit:

http://git.pokylinux.org/cgit.cgi/poky/commit/?id=9a2ae44380a5ef81fb099075af99351db06a3252

The -no-reboot flag is unconditionally applied in the poky-qemu-internal; removing it allows qemux86 to reboot as expected.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10639</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2010-10-18 09:32:35 +0000</bug_when>
    <thetext>Since bugs #100 and this one seemed to be in conflict with each other, I discussed the matter with Richard on Jabber, who feels that reboot capability for x86 is not a requirement:

(09:23:52 AM) sgarman_laptop: RP: I have a question regarding the bugfix I submitted for bug #100, which added -no-reboot to the qemu default options. Apparently all the non-x86 qemu architectures already had -no-reboot in their default options (set in poky-qemu-internal), so by making it the universal default I only added it to the x86 arches. But now bug #475 has been added, which states that it is a bug that the x86 arches cannot reboot. So I need to know what the intended behavior is.
(09:25:05 AM) RP: sgarman_laptop: Does that bug mean that qemu exits when a reboot is requested?
(09:25:16 AM) sgarman_laptop: RP: correct
(09:25:21 AM) RP: If it does exit ok, I&apos;d probably call it NOTABUG
(09:25:40 AM) sgarman_laptop: RP: ok, just verifying that the fix I did for #100 was actually what was intended
(09:26:17 AM) tom.zanussi: RP: rebooting works ok in qemux86, so that will remove it
(09:26:55 AM) tom.zanussi: RP: I mean, everything works fine without the -no-reboot flag on qemux86, so why remove it?
(09:27:24 AM) tom.zanussi: RP: It&apos;s just a problem for arm and ppc, from the description in bug 100
(09:29:18 AM) RP: tom.zanussi: I&apos;d really like the qemu* machines to have consistent behaviour
(09:29:35 AM) RP: If we define it that both reboot and halt exit qemu, I think there will be less surprises for people</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11135</commentid>
    <comment_count>3</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2010-12-13 08:43:32 +0000</bug_when>
    <thetext>Verified we have the intended fix, 2010-12-13</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>