summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/arch/arch_x86.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-02-10 20:03:09 +0000
committergVisor bot <gvisor-bot@google.com>2020-02-10 20:03:09 +0000
commit67f39205e6c7f53c1c8a54949582ddba4fe0b5ea (patch)
tree74f42d2a12d81fe33febbc290bb3139312656e4f /pkg/sentry/arch/arch_x86.go
parentb5f9846d3e3c7e4bdf02a94bc1514d1a8fa240dd (diff)
parent20840bfec087d45853e81d1ac34940f3b2fb920a (diff)
Merge release-20200127.0-107-g20840bf (automated)
Diffstat (limited to 'pkg/sentry/arch/arch_x86.go')
-rw-r--r--pkg/sentry/arch/arch_x86.go15
1 files changed, 0 insertions, 15 deletions
diff --git a/pkg/sentry/arch/arch_x86.go b/pkg/sentry/arch/arch_x86.go
index 3db8bd34b..88b40a9d1 100644
--- a/pkg/sentry/arch/arch_x86.go
+++ b/pkg/sentry/arch/arch_x86.go
@@ -155,21 +155,6 @@ func NewFloatingPointData() *FloatingPointData {
return (*FloatingPointData)(&(newX86FPState()[0]))
}
-// State contains the common architecture bits for X86 (the build tag of this
-// file ensures it's only built on x86).
-//
-// +stateify savable
-type State struct {
- // The system registers.
- Regs syscall.PtraceRegs `state:".(syscallPtraceRegs)"`
-
- // Our floating point state.
- x86FPState `state:"wait"`
-
- // FeatureSet is a pointer to the currently active feature set.
- FeatureSet *cpuid.FeatureSet
-}
-
// Proto returns a protobuf representation of the system registers in State.
func (s State) Proto() *rpb.Registers {
regs := &rpb.AMD64Registers{