]> git.proxmox.com Git - mirror_qemu.git/commitdiff
i386: Remove unused define's from hax and hvf
authorJulio Faracco <jcfaracco@gmail.com>
Mon, 23 Mar 2020 20:05:38 +0000 (17:05 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 10 Jun 2020 16:10:47 +0000 (12:10 -0400)
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>
Message-Id: <20200323200538.202164-1-jcfaracco@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/hax-i386.h
target/i386/hvf/hvf-i386.h

index 7d988f81da054b143a0641516548158785e76b0a..ec28708185c66885e58915e1bfa2313b0aa238dd 100644 (file)
@@ -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;
index 15ee4835cf180367e7cbe5501efea852a8466577..fbe4a350c51f9d2b267def418381e29ab9793223 100644 (file)
@@ -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;