* [PATCH] i386: Remove unused define's from hax and hvf
@ 2020-03-23 20:05 Julio Faracco
2020-05-21 16:18 ` Paolo Bonzini
0 siblings, 1 reply; 2+ messages in thread
From: Julio Faracco @ 2020-03-23 20:05 UTC (permalink / raw)
To: qemu-devel; +Cc: pbonzini, wenchao.wang, colin.xu, ehabkost, rth
Commit acb9f95a removed boundary checks for ID and VCPU ID. After that,
the max definitions of that boundaries are not required anymore. This
commit is only a code cleanup.
Signed-off-by: Julio Faracco <jcfaracco@gmail.com>
---
target/i386/hax-i386.h | 2 --
target/i386/hvf/hvf-i386.h | 2 --
2 files changed, 4 deletions(-)
diff --git a/target/i386/hax-i386.h b/target/i386/hax-i386.h
index 54e9d8b057..70fe5cefeb 100644
--- a/target/i386/hax-i386.h
+++ b/target/i386/hax-i386.h
@@ -41,8 +41,6 @@ struct hax_state {
};
#define HAX_MAX_VCPU 0x10
-#define MAX_VM_ID 0x40
-#define MAX_VCPU_ID 0x40
struct hax_vm {
hax_fd fd;
diff --git a/target/i386/hvf/hvf-i386.h b/target/i386/hvf/hvf-i386.h
index 15ee4835cf..fbe4a350c5 100644
--- a/target/i386/hvf/hvf-i386.h
+++ b/target/i386/hvf/hvf-i386.h
@@ -21,8 +21,6 @@
#include "x86.h"
#define HVF_MAX_VCPU 0x10
-#define MAX_VM_ID 0x40
-#define MAX_VCPU_ID 0x40
extern struct hvf_state hvf_global;
--
2.24.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] i386: Remove unused define's from hax and hvf
2020-03-23 20:05 [PATCH] i386: Remove unused define's from hax and hvf Julio Faracco
@ 2020-05-21 16:18 ` Paolo Bonzini
0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2020-05-21 16:18 UTC (permalink / raw)
To: Julio Faracco, qemu-devel; +Cc: wenchao.wang, colin.xu, ehabkost, rth
On 23/03/20 21:05, Julio Faracco wrote:
> Commit acb9f95a removed boundary checks for ID and VCPU ID. After that,
> the max definitions of that boundaries are not required anymore. This
> commit is only a code cleanup.
>
> Signed-off-by: Julio Faracco <jcfaracco@gmail.com>
> ---
> target/i386/hax-i386.h | 2 --
> target/i386/hvf/hvf-i386.h | 2 --
> 2 files changed, 4 deletions(-)
>
> diff --git a/target/i386/hax-i386.h b/target/i386/hax-i386.h
> index 54e9d8b057..70fe5cefeb 100644
> --- a/target/i386/hax-i386.h
> +++ b/target/i386/hax-i386.h
> @@ -41,8 +41,6 @@ struct hax_state {
> };
>
> #define HAX_MAX_VCPU 0x10
> -#define MAX_VM_ID 0x40
> -#define MAX_VCPU_ID 0x40
>
> struct hax_vm {
> hax_fd fd;
> diff --git a/target/i386/hvf/hvf-i386.h b/target/i386/hvf/hvf-i386.h
> index 15ee4835cf..fbe4a350c5 100644
> --- a/target/i386/hvf/hvf-i386.h
> +++ b/target/i386/hvf/hvf-i386.h
> @@ -21,8 +21,6 @@
> #include "x86.h"
>
> #define HVF_MAX_VCPU 0x10
> -#define MAX_VM_ID 0x40
> -#define MAX_VCPU_ID 0x40
>
> extern struct hvf_state hvf_global;
>
>
Queued, thanks.
Paolo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-21 16:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-23 20:05 [PATCH] i386: Remove unused define's from hax and hvf Julio Faracco
2020-05-21 16:18 ` Paolo Bonzini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).