Patchwork [for-1.1] cpu: Update documentation and comment

login
register
mail settings
Submitter Andreas Färber
Date May 2, 2012, 8:28 p.m.
Message ID <1335990538-20025-1-git-send-email-afaerber@suse.de>
Download mbox | patch
Permalink /patch/156549/
State New
Headers show

Comments

Andreas Färber - May 2, 2012, 8:28 p.m.
State struct CPU had been renamed to CPUState, former CPUState to
CPUArchState.

Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 include/qemu/cpu.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Anthony Liguori - May 8, 2012, 5:29 p.m.
On 05/02/2012 03:28 PM, Andreas Färber wrote:
> State struct CPU had been renamed to CPUState, former CPUState to
> CPUArchState.
>
> Signed-off-by: Andreas Färber<afaerber@suse.de>

Applied.  Thanks.

Regards,

Anthony Liguori

> ---
>   include/qemu/cpu.h |    4 ++--
>   1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/qemu/cpu.h b/include/qemu/cpu.h
> index 4291279..78b65b3 100644
> --- a/include/qemu/cpu.h
> +++ b/include/qemu/cpu.h
> @@ -39,7 +39,7 @@ typedef struct CPUState CPUState;
>
>   /**
>    * CPUClass:
> - * @reset: Callback to reset the #CPU to its initial state.
> + * @reset: Callback to reset the #CPUState to its initial state.
>    *
>    * Represents a CPU family or model.
>    */
> @@ -61,7 +61,7 @@ struct CPUState {
>       Object parent_obj;
>       /*<  public>*/
>
> -    /* TODO Move common fields from CPUState here. */
> +    /* TODO Move common fields from CPUArchState here. */
>   };
>
>

Patch

diff --git a/include/qemu/cpu.h b/include/qemu/cpu.h
index 4291279..78b65b3 100644
--- a/include/qemu/cpu.h
+++ b/include/qemu/cpu.h
@@ -39,7 +39,7 @@  typedef struct CPUState CPUState;
 
 /**
  * CPUClass:
- * @reset: Callback to reset the #CPU to its initial state.
+ * @reset: Callback to reset the #CPUState to its initial state.
  *
  * Represents a CPU family or model.
  */
@@ -61,7 +61,7 @@  struct CPUState {
     Object parent_obj;
     /*< public >*/
 
-    /* TODO Move common fields from CPUState here. */
+    /* TODO Move common fields from CPUArchState here. */
 };